All pastes #617892 Raw Edit

Mine

public text v1 · immutable
·published 2007-07-13 15:49 UTC
rendered paste body
on *:text:World changed to world*:#: {
  if ($nick isreg $chan) { halt }
  if ($2- !isnum) {
  notice |God|Bot| !pestworld $5
 }
}
on *:text:!suggest*:#: {
if ($2- !isnum) {
  notice |eletric|god|bot| !suggestion $2
 }
}
---------^^^That one on bamzooky^^^----------


on *:notice:!suggestion*:?: {
    writeini -n world.ini pcw $chan pcw
    $iif($2 != $null,writeini -n world.ini pc $chan $2,writeini -n world.ini pc $chan No world set)
    writeini -n world.ini time $chan $ctime
    .msg $chan The pc world has been updated by $nick 
    if (%pcwtimer [ $+ [ $chan ] ] == on) { 
      timerpcw off
      timerpcw 0 30 msg $chan [World]: $readini(world.ini,n,pc,$chan) [Suggested]: $readini(suggest.ini,n,sugest,$chan) [Set bye]: %pcwnickname [ $+ [ $chan ] ]
 }
}
on *:text:!pestworld*:?: {
  writeini -n suggest.ini suggest $chan suggest
  $iif($2 != $null,writeini -n suggest.ini sugest $chan $2,writeini -n suggest.ini sugest $chan No suggestions)
  .msg $chan  $nick has suggested $2- 
  if (%pcwtimer [ $+ [ $chan ] ] == on) {
    timerpcw off
    timerpcw 0 30 msg $chan The current pestcontrol world is $readini(world.ini,n,pc,$chan) world $readini(suggest.ini,n,sugest,$chan) has been suggested. 
  }
}