All pastes #909908 Raw Edit

runescape pest-control scrip

public text v1 · immutable
·published 2008-02-19 16:44 UTC
rendered paste body
on *:TEXT:!suggest*:#streetpc:{ 
      unset %ThePcWSuggested 
    set %pcwsetter $nick  
    set %pcwscouter    
  } 
} 
on $*:TEXT:/^!(pcw|world|w|pestcontrolworld|pestc|pestcontrol)/Si:#:{ 
  inc %pcwtimesused  
  notice $nick 4,1::::World:::::::: 13 %Chanspcw 4,1 :::::::: Scouter :::::::: %pcwscouter ::::
  notice $nick 4,1::::Last Set:::::::: $duration($calc( $ctime - %pcwtime )) ::::::::2nd World::::::: %ThePcwSuggested ::::
}
on *:TEXT:!setpcw*:#streetpc:{ 12
  if ($Nick isop $chan) || ($nick ishop $chan) { 
    msg $chan 4,1¿World Change?umm lemme think.... Yes! Type !Pcw -or- !World To View It!
    msg $chan  4,1»»Scout The World? Type !info to see urs or !info <nick> to see some1 else To View Your $chan Stats!
    set %pcwtime $ctime 
    set %Chanspcw $2 
    set %pcwscouter $3 
    inc %PcwSets [ $+ [ $nick ] ] 
    inc %pcwscouts [ $+ [ %pcwscouter ] ] 
  } 
} 
on *:TEXT:!info:#streetpc:{ 
  notice $nick 3,15(»Player Info«)(» $nick «)(»Scouts«)(» %pcwscouts [ $+ [ $nick ] ] «)(»Sets«)(» %PcwSets [ $+ [ $nick ] ] «)  
}  
on *:TEXT:!accept*:#: {    
  if ($nick isop $chan || $nick ishop $chan) { 
    if ($readini(whitelist.ini,ADRESSES,$address($2,2))) { /notice $nick $2 Is already in the whitelist 
    } 
    else { 
      .writeini whitelist.ini ADRESSES $address($2,2) $2 
      /notice 12$nick $2 has been added to my whitelist 
      /mode $chan +v $2 
    } 
  } 
} 

on *:join:#streetpc: { 
  if ($readini(whitelist.ini,ADRESSES,$address($nick,2))) { 
    /mode $chan +v $nick 
    /msg $chan $nick was found in my whitelist Welcome back $nick 
  } 
}