############
####remote##
############
on $*:TEXT:/^[!@\.](set(pc)?w|change)/Si:#rspc,#rspc-staff:{
if ($nick !isreg #) {
set %pcw $2
if (%msger == on) {
if (%pc == on) msg #rspc,#rspc-staff 12The world has been said - %pcw !! %pcw !!
set %god $iif($chan == #rspc,$nick,God)
}
}
}
on $*:TEXT:/^[!@\.]hamish o(ff|n)$/Si:#rspc,#rspc-staff:{
If ($nick !isreg #) {
if ($2 == on) {
.timer934 0 20 msg #rspc 3The current 04#RSPC 03Pest Control World is 12»»04 $(%pcw,) 12««04 03set by 04[12 $(%God,) 04]03.
set %pc on
}
else {
.timer934 off
set %pc off
}
}
}
############
####Alias###
############
pcoff { /set %pc off | /msg $chan Pc commands are now disabled }
pcon { /set %pc on | /msg $chan Pc commands are now enabled }
setpcw { set %pcw $1
set %pcnick God
msg #rspc The world has been updated to %pcw by %pcnick $+ .
msg #rspc-staff The world has been updated to %pcw by %pcnick $+ .
timers off
.timerrspc 0 20 msg #rspc 3The current 4#RSPC 3Pest Control World is 2»» %pcw $+ 42««3 set by %pcnick $+ .
}