on *:TEXT:!activate*:#:{
if ($nick == runerjim009) {
set %pcswitch on
msg $chan bot has been activated.
}
}
on *:TEXT:!deactivate*:#:{
if ($nick == runerjim009) {
set %pcswitch off
msg $chan bot has been deactivated.
}
}
on *:TEXT:!setpcw*:#:{
if (($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) || ($nick == runerjim009) && (%pcswitch == on) {
msg $chan 6PC world has been updated! Type 3!world 6or 3!pcw 6to see | set %pcw $2 | set %pctime $ctime | set %pcset $nick
}
}
on *:TEXT:!world*:#:{
if (%pcswitch == on) {
.notice $nick 6The current Pest Control world is:3 %pcw 6This world was set:3 $duration($calc($ctime - %pctime) 6ago by:3 %pcset
}
}
on *:TEXT:!pcw*:#:{
if (%pcswitch == on) {
.notice $nick 6The current Pest Control world is:3 %pcw 6This world was set:3 $duration($calc($ctime - %pctime)) 6ago by:3 %pcset
}
}
on *:TEXT:@world*:#:{
if (%pcswitch == on) {
msg $chan 6The current Pest Control world is:3 %pcw 6This world was set:3 $duration($calc($ctime - %pctime)) 6ago by:3 %pcset
}
}
on *:TEXT:@pcw*:#:{
if (%pcswitch == on) {
msg $chan 6The current Pest Control world is:3 %pcw 6This world was set:3 $duration($calc($ctime - %pctime)) 6ago by:3 %pcset
}
}
on *:JOIN:#:{
if (%pcswitch == on) {
.notice $nick 6Welcome to 3#RSPC6, type 3!world 6or 3!pcw 6to see the current Pest Control world. Type 3!suggest world 6 to suggest a world
}
}
on *:TEXT:!owner*:#:{
if (%pcswitch == on) {
.notice $nick 3I belong to 2Runerjim009, 6the most 4loveable runescape 11player!
}
}
on *:TEXT:@owner*:#:{
if (%pcswitch == on) {
msg $chan 3I belong to 7Runerjim009, 6the most 4loveable runescape 11player!
}
}
on *:TEXT:!part*:#:{
if ($nick !isreg $chan) || ($nick == runerjim009) /part $chan 3I may be gone,1 but not 6forgotten...3
}
on *:TEXT:!suggest*:#:{
if (%pcswitch == on) {
.notice $nick 6You have suggested a world | set %sw $2 | set %swtime $ctime | set %sugnick $nick
}
}
on *:TEXT:!sw*:#:{
if (%pcswitch == on) {
.notice $nick 6The current suggested Pest Control world is:3 %sw 6This world was suggested:3 $duration($calc($ctime - %swtime)) 6ago by:3 %sugnick
}
}
on *:TEXT:@sw*:#:{
if (%pcswitch == on) {
msg $chan 6The current suggested Pest Control world is:3 %sw 6This world was suggested:3 $duration($calc($ctime - %swtime)) 6ago by:3 %sugnick
}
}