rendered paste bodyon *:TEXT:!setworld*:*: {
if (($nick ishop $chan || $nick isop $chan) && ($2 isnum 2-138)) { msg $chan ~ The CW-World is [ $2 ] Set by [ $+ $nick $+ ] ~ | /set %pc $2 | /set %nick2 $nick | /set %time5 $ctime }
elseif ($2 != 2-138) { /notice $nick Sorry but you can't set the CW-world to $2 }
else /notice $nick Error please try again.
}
on $*:text:/^!(world|cw(w)?)/Si:#: {
inc %cw.counter
set %cw.owner
notice $nick ~ The CW-World is [ [ %cwworld. [ $+ [ $chan ] ] ] ] Set by [ $+ [ %pcnick. [ $+ [ $chan ] ] ] $+ ] ~
notice $nick [ Updated: $duration($calc($ctime - %cwtime. [ $+ [ $chan ] ] )) ago ][ Used %cw.counter times ] %cw.owner
}