All pastes #118862 Raw Edit

PCCS + Mute/DeMute

public text v1 · immutable
·published 2006-08-06 15:11 UTC
rendered paste body
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: