Part of my remote script is below:


on *:NOTICE:*Password accepted*:*:{
if ($nick == Nickserv && $network == mynetwork) {
.join #room1,#room2,#room3
.msg botname invite keyword
.clearall
}

Basically once identified I'd like to join some rooms and be invited to another. The last thing I'd like to do is issue a /clearall command. However that last line doesn't execute so I assume I have the syntax wrong (.clearall /clearall and just clearall all gave the same result).

Edit: Also, if possible, can I make the script wait a couple of seconds between joining the rooms and messaging the bot?

Last edited by blabberer; 05/09/15 07:13 AM.