I'm building a bot for a friend and I've come across a problem I can't figure out how to solve.
He wants the bot to be able to re-join the channel if it peers, but the channel is set to +i. Is it possible to have the bot (with the founder password) set the channel to MLOCK -i, join, and then remove the MLOCK?
When I try to create a script for it:
set init-server { putserv "PRIVMSG chanserv :identify #channel <pass>"
putserv "PRIVMSG chanserv :SET #channel MLOCK -i"
putserv "PRIVMSG chanserv :SET #channel MLOCK OFF"
putserv "JOIN #channel" }
Then the error comes up that there's either a missing " or there's text after a ". I know that this is a security hole, but the friend wants the bot to do this, and the server's very low profile, but I can't get this to work. Am I doing something wrong?
<font size=-1>[ This Message was edited by: Random on 2002-03-13 02:17 ]</font>