on *:text:!setpcw*:#: {
if ($2 == %pcworld [ $+ [ $chan ] ]) {
msg $chan This world has already been set!
}
else {
set %pcsetter [ $+ [ $chan ] ] $nick
set %pcworld [ $+ [ $chan ] ] $2
notice $chan Pc world has been set by %pcsetter [ $+ [ $chan ] ] $+ ! PC world is now %pcworld [ $+ [ $chan ] ] $+ !
/timer1 0 60 msg $chan PC world is:4,0 %pcworld [ $+ [ $chan ] ] 1,0 This world was set by %pcsetter [ $+ [ $chan ] ] $+ !
}
}
on *:text:!stoppcm:#: {
if (!%pcworld [ $+ [ $chan ] ]) {
msg $chan World isn't even set!
}
else {
timer1 off
msg $chan Auto pc world messaging has been ended type !pcw to view the world!
}
}
on *:text:!pcw:#: {
if (!%pcworld [ $+ [ $chan ] ]) {
msg $chan There is no pc world anymore. PC is stopped by %pcstopper [ $+ [ $chan ] ] $+ . Ask him/her why he stopped PC or ask if PC may be set again.
}
else {
msg $chan The pc world is:4,0 %pcworld [ $+ [ $chan ] ] $+ 1,0! This world has been set by %pcsetter [ $+ [ $chan ] ] $+ !
}
}
on *:text:!stoppcw:#: {
if (!%pcworld [ $+ [ $chan ] ]) {
msg $chan PC have already been set off!
}
elseif ($nick ishop $chan || $nick isop $chan) {
set %pcstopper [ $+ [ $chan ] ] $nick
unset %pcworld [ $+ [ $chan ] ]
unset %pcsetter [ $+ [ $chan ] ]
timer1 off
msg $chan No pc world anymore!
}
}