on $*:text:/^[!@.>~]cw */Si:#: { if ($readini(ChanPrefs.ini,$chan,bot) || $readini(ChanPrefs.ini,$chan,cw)) { halt } if ($chan == #rscw) || ($chan == #cw) { if (!$($+(%,$nick,.CWSpam),2)) { set -u30 $+(%,$nick,.CWSpam) 1 if (!%rscw.world) { /notice $nick There Is No Currently Set World } else { inc %rscw.time | $iif($left($1,1) == @ && ($nick !isreg $chan),msg $chan,.notice $nick) 3The Current $chan world is:4 %rscw.world $+ , 3we are on team4 %rscw.team $+ .3The world command has been used12 $bytes(%rscw.time,b) 3Times. } } } } on $*:text:/^[!@.>~](setcw|cwset) */Si:#: { if ($readini(ChanPrefs.ini,$chan,bot) || $readini(ChanPrefs.ini,$chan,cw)) { halt } if ($chan == #rscw) || ($chan == #cw) { if (*$* iswm $2- || *%* iswm $2-) { .notice $nick Bot exploit detected and logged. | msg Sara Bot exploit detected by $nick in $chan $+ : < $+ $nick $+ > $1- | halt } if ($nick !isreg $chan) { set %rscw.world $2 | set %rscw.team $3 | .notice $nick World has been set to $2 || Team has been set to $3  } else { notice $nick You do not have the access level required to use that command. } } } alias -l godname { if ($regex($1,/^S(ara(domin)?)?$/Si)) return Saradomin elseif ($regex($1,/^G(uth(ix)?)?$/Si)) return Guthix elseif ($regex($1,/^Z(am(my|orak)?)?$/Si)) return Zamorak }