on 1:start:{ ; the following line can contain no tabs and only single spaces! set %freak.nicks avrfreak avrphreaque avrphreak avrfreak_afk 5th_nick .... server irc.freenode.net } on 1:connect:{ ; select the first nick from the list nick $gettok(%freak.nicks,1,32) set %freak.nicks.count 1 } raw 376:*:{ ; motd ended, means we are really connected, lets id now NickServ IDENTIFY } ; 437 ERR_UNAVAILRESOURCE " :Nick/channel is temporarily unavailable" raw 437:*:{ NickServ RELEASE $1 changefreaknicks } on 1:NOTICE:*Nickname is already in use*:?:{ ; verify it's nickserv! if ( $nick == nickserv ) { changefreaknicks } } ; note the word "alias" used below is necessary in remotes, but never in the aliases section alias changefreaknicks { ; increment by 1 thru the list inc %freak.nicks.count ; but if we increment past the list length, reset to start of list if ( %freak.nicks.count > $numtok(%freak.nicks,32) ) { set %freak.nicks.count 0 } nick $gettok(%freak.nicks,%freak.nicks.count,32) } on 1:NOTICE:*You are now identified*:?:{ ; verify it's nickserv! if ( $nick == nickserv ) { join <#channel> join <#more channels> } }