[script] on *:TEXT:!change *:#pc4you.staff: { if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvo $chan) { set %oldpcw.best %setpcw.best set %setpcw.best $2- set %setnick.best $nick set %settime.best $ctime notice links_past newpcworld $2- inc %countpcw.best 1 } if (%setpcw.best == %pcwsuggestion.best) { set %pcwsuggestion.best Unset } if (%pcstatus.best == off) { halt } elseif ($nick isop $chan) || ($nick ishop $chan) || ($nick isvo $chan) && (%pcstatus.best == on) { notice #pc4you 10» 15] 14[World: 3 %setpcw.best $+ 14][ 3Last world: %oldpcw.best $+ 14][Updated: 3 $+($duration($calc($ctime - %settime.best)),) 14][Set by 3 %setnick.best $+ 14][ 14Use: 3 %countpcw.best $+ ] 15[ 10« msg #pc4you | 10» 15] 14 $+ $nick has updated #pc4you's world.[ 10« | } } on *:TEXT:!suggest *:#pc4you:{ if ($nick isreg #) { halt } if ($2- == %setpcw.best) { notice $nick Don't set a current pcw! | halt } if ($2- == %pcwsuggestion.best) { notice $nick Someone has already suggested this world. Find your own! | halt } if (%pcstatus.best == off) { set %pcwsuggestion.best $2- | halt } elseif (%pcstatus.best == on) { set %pcwsuggestion.best $2- msg @#pc4you.staff 3 $nick 2 has suggested world 3 $2- $+ . 2 If this is abuse type 3(!abk $nick $+ ). 2If this is a good world type 3 !change $2- } } on *:TEXT:!abk *:#pc4you.staff:{ if ($2 isop #rspc) || ($2 ishop #rspc) { halt } else { /ban -ku $+ $calc(10*60) #pc4you $2 12[»» 3Don't abuse the Suggest command script 12««] 3 10 Minute Ban } } on $*:text:/^[!.](pcw|p|w|pcw|pc)/Si:#pc4you: { if (%pcstatus.best == off) { HALT } elseif ($nick isvo #) || ($nick ishop #) || ($nick isop #) { inc %countpcw.best 1 notice $nick 10» 15] 14[World: 3 %setpcw.best $+ 14][Suggested: 3 %pcwsuggestion.best $+ 14][Last World: 3 %oldpcw.best $+ 14][Updated: 3 $+($duration($calc($ctime - %settime.best)),) 14][Set by 3 %setnick.best $+ 14][ 14Use: 3 %countpcw.best $+ ] 15[ 10« } } on $*:TEXT:/^@(pcw|p|w|pcw)/Si:#pc4you:{ if (%pcstatus.best == off) { halt } elseif ($nick ishop #) || ($nick isop #) { inc %countpcw.best 1 notice #pc4you 10» 15] 14[World: 3 %setpcw.best $+ 14][Suggested: 3 %pcwsuggestion.best $+ 14][Last World: 3 %oldpcw.best $+ 14][Updated: 3 $+($duration($calc($ctime - %settime.best)),) 14][Set by 3 %setnick.best $+ 14][ 14Use: 3 %countpcw.best $+ ] 15[ 10« } } on *:TEXT:!bot on:#pc4you: { if ($nick isop #) || ($nick ishop #) { set %pcstatus.best on notice $nick You have turned me on. :) } } on *:TEXT:!bot off:#pc4you: { if ($nick isop #) || ($nick ishop #) { set %pcstatus.best off notice $nick You have turned me off. Please remember to turn on another bot! } }