on *:text:.demute:#:{ if ($nick isop $chan) { mode $chan -m } }
on *:text:.mute:#:{ if ($nick isop $chan) { mode $chan +m } }
on $*:text:/^[!@.]setpcw #CHANNEL */Si:#: {
if ($nick isop #) || ($nick ishop #) {
set %pccCHANNEL $ctime
set %pcCHANNEL $3-
notice $nick The new pc-world for $chan has been set as %pcCHANNEL
topic $chan TOPIC DESIGN WITH $3- IN THE TOPIC WHERE THE WORLD GOES!
msg # [4Pc-World Update1] 12New world for $chan $+ : $3- 4( $+ $nick $+ )
}
}
on *:Text:!pcw #CHANNEL *:#: {
if (!%pcCHANNEL) notice $nick The pc-world for $chan is not set
notice $nick The current pc-world for $chan is: %pcCHANNEL - Last update: $duration($calc($ctime - %pccCHANNEL)) ago
}
Note that you'll have to replace CHANNEL in all of the script with the channel that will use the script. You'll then need: