on *:TEXT:!change*:#eternalblue: {
if ($nick !isreg #) {
if $2 isnum {
.set %pcw $2
.set %pcnick $nick
.set %pctime $ctime
.msg $chan 12,15PC world has been changed. Type 4,15!pcw12,15 to view the new world.
halt
}
if $2 !isnum {
.notice $nick $2 is not a number, please try again.
halt
}
}
if ($nick isreg #) {
.notice $nick You are not authorized to use this command.
}
}
on *:TEXT:!pcw:#eternalblue: {
.notice $nick 12,15The current PC world is %pcw $+ , Set by %pcnick roughly $duration($calc($ctime - %pctime),3) ago.
}
on *:TEXT:!suggest*:#eternalblue: {
if $2 isnum {
.msg # 12,15 $nick suggested World $2 as a new PC world.
.timer 1 5 /notice # 12,15 $nick has suggested World $2 as a new pest control world.
}
if $2 !isnum {
.notice $nick $2 is not a number. Please try again.
}
}