------------------PCW SCRIPT--------------
on *:TEXT:!pcw:#:{
if (%status == on) {
.notice $nick 12 The Current World Is 4 $+( ,%pc,) 12This world was set 3 $duration($calc($ctime - %pcc $ctime))) 12ago. [ Set by $+( ,%pcnick,) ] !Pcw command has been used $+( ,%pcwcount,) times so far!
/inc %pcwcount
}
}
on *:TEXT:!setworld *:#:{
if (%status == on) {
if ($nick isop $chan) || ($nick ishop $chan) {
/set -s %pc $2
/set -s %pcnick $nick
/unset %pcc $ctime
/set %pcc $ctime
/notice $nick The new world is $2
/msg $chan 4 The world has been changed!! Type !pcw to see the new world
}
else { /notice $nick You are not allowed to set a world, only operators are }
}
}
on *:text:*:#:{
if ($1 == !enablepcw) set %status on
if ($1 == !!disablepcw) set %status off