on $*:TEXT:/^[!@.]setworld../Si:#:{
if (($nick isop $chan) || ($nick ishop $chan)) {
set %world $+($2,$chr(160),$nick,$chr(160),$ctime)
msg $chan $nick has changed changed the current Pest Control world to: $2
}
else notice $nick You NEED Half Op or higher to use the !setworld command.
}
on $*:TEXT:/^[!@.]world/Si:#: {
if ($nick !isreg $chan) notice $nick $nick the current pest control world is: $gettok(%world,1,160) set by $gettok(%world,2,160) $+ , $duration($calc($ctime - $gettok(%world,3,160))) ago.
else notice $nick $nick you NEED to be atleast Voiced to use this command.
}
on $*:TEXT:/^[!@.]pcw/Si:#: {
if ($nick !isreg $chan) notice $nick $nick the current pest control world is: $gettok(%world,1,160) set by $gettok(%world,2,160) $+ , $duration($calc($ctime - $gettok(%world,3,160))) ago.
else notice $nick $nick you NEED to be atleast Voiced to use this command.
}
on $*:TEXT:/^[!@.]pc/Si:#: {
if ($nick !isreg $chan) notice $nick $nick the current pest control world is: $gettok(%world,1,160) set by $gettok(%world,2,160) $+ , $duration($calc($ctime - $gettok(%world,3,160))) ago.
else notice $nick $nick you NEED to be atleast Voiced to use this command.
}