on *:join:#:if ($nick == $me && $me == [DEV]Runescript) set -u5 $+(%,invite,.,#) # raw 366:*:{ if ($1 == [DEV]Runescript) && ($($+(%,invite,.,$2),2)) { var %a = $nick(#,0), %b = $nick(#,$rand(1,%a)) if (%a > 1) { while (%b == $me) %b = $nick(#,$rand(1,%a)) } msg $2 Boo-Yaka-Sha! RuneScript, the RuneScape bot [Bot ID [DEV]] :: Invited by $+(07,%b,) If you do not want me here, type "!part RuneScript" to remove me :: Use 07!help for info on commands. msg $2 Have questions/suggestions for RuneScript staff? Ask us in07 #rscript :: For the latest bot news and updates, see07 http://forum.rscript.org/ :: Thanks for using RuneScript! unset $($+(%,invite,.,$2),1) } }