on $*:TEXT:/[@!]setpcw? */:*: {
if (%bot == off) { notice $nick 4The Bot is turned OFF please wait untill it is turned back on. | halt }
if (*$* iswm $2) {
notice $nick 4Identifiers are not needed in SetPC World Command, Please think about your actions again (1 Minute Ignore).
echo -s 4 $nick was using an identifer for a setpc world command
ignore $address($nick,2) | silence + $+ $nick
timer 1 60 ignore -r $address($nick,2)
timer 1 60 silence - $+ $nick
halt
}
if ($nick isop $chan || $nick ishop $chan) {
if (!$2) { notice $nick Syntax : [@!.]setpcw <RSN WORLD>. | halt }
if ($2 isnum 2-140) {
set %pcw.world [ $+ [ $chan ] ] $2
set %pcw.nick [ $+ [ $chan ] ] $nick
set %pcw.ctime [ $+ [ $chan ] ] $ctime
set %pcw.suggest [ $+ [ $chan ] ] None
msg $chan 3The Pest Control World has been changed for channel $chan , Type !Pcw to see it!
halt
}
else
notice $nick 4You need Halfop Plus to Set Pest Control Worlds!
halt
}
}
on $*:TEXT:/[@!]pcw/:#: {
if ($chan == #bots || $chan == *bot*) { halt }
if (%bot == off) { notice $nick 4The Bot is turned OFF please wait untill it is turned back on. | halt }
if (%pcw.world [ $+ [ $chan ] ] == $null) { notice $nick 12 No 4Pest Control World 12 has been set if you would like to suggest a world type !suggest pcw (world) | halt }
else {
set %msg $iif($left($1,1) == @,msg $chan,notice $nick)
inc %pcw
%msg 12The Current Pc World is 4 [[ %pcw.world [ $+ [ $chan ] ] ], 12Set By 4[ %pcw.nick [ $+ [ $chan ] ] ], 4[ $duration($calc($ctime - %pcw.ctime [ $+ [ $chan ] ] )) ] 12ago, Suggested PC World is 4[ %pcw.suggest [ $+ [ $chan ] ] ], 12 Command used %pcw Times!
}
}
on *:TEXT:!suggestpcw*:#: {
if ($chan == #bots) { halt }
if (%bot == off) { notice $nick 4The Bot is turned OFF please wait untill it is turned back on. | halt }
if (*$* iswm $2) { notice $nick 4 Identifiers are not needed in Suggesting a PC World, Please think about your actions again (1 Minute Ignore).
echo -s 4 $nick was using an identifer for a suggest Pcw World Command | ignore $address($nick,2) | silence + $+ $nick
timer 1 60 ignore -r $address($nick,2) | timer 1 60 silence - $+ $nick | halt
}
if ($2 isnum 2-140) {
set %pcw.suggest [ $+ [ $chan ] ] $2
msg $chan 3 $nick has suggest Pest Control World $2 for channel $chan !
halt
}
else
notice $nick 4Please enter a Runescape Members World
}