rendered paste bodyon *:text:!pcw*:*:{
if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
/notice $nick 10»14]12[World:4 %world 12][Suggested:4 %suggest 12][Last updated:4 $duration($calc( $ctime - %pcsettime. [ $+ [ $chan ] ] )) 12][Set by4 %nic 12]14[10«
}
}
on *:text:@pcw*:*:{
if ($nick isop $chan) {
/msg $chan 10»14]12[World:4 %world 12][Suggested:4 %suggest 12][Last updated:4 $duration($calc( $ctime - %pcsettime. [ $+ [ $chan ] ] )) 12][Set by4 %nic 12]14[10«
}
}
on *:text:!suggest*:#:{
if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
set %suggest $2-
/notice $nick Thankyou, your suggestion has been added. If you abuse this system you will be banned.
}
}
on *:text:!change*:#:{
if ($nick isop $chan) || ($nick ishop $chan) {
/set %setpc $calc( $readini( setpcw.ini, $nick, Set ) +1)
/writeini setpcw.ini $nick Set %setpc
set %world $2-
set %nic $nick
set %pcsettime. [ $+ [ $chan ] ] $ctime
/msg $chan 7 %nic 14has changed the 7Pest-Control World 14Type 7!pcw 14or 7!world 14to see the world.
}
else {
/notice $nick 1Only 4Ops 1and 7Half-Ops 1can set the 10Pest-Control 1world.
}
}