All pastes #596154 Raw Edit

Someone

public text v1 · immutable
#596154 ·published 2007-06-29 20:27 UTC
rendered paste body
on *:TEXT:!suggest*:#:{ 
  set %ThePcwSuggested $2 
  set %PcWReason $3- 
  set %pcwscouter $nick 
  msg $chan    World Suggestion From: $nick <.> World: %ThePcwSuggested  <.> Reason: %PcWReason
  unset %PcWReason 
} 
on *:TEXT:!lazy*:#:{ 
  if ($Nick isop $chan) || ($nick ishop $chan) { 
    set %Chanspcw %ThePcwSuggested 
    msg $chan ¿World Change? Yes! Type !Pcw -or- !World To View It!
    msg $chan »»Scout The World? Type !scouts To View Your $chan Stats!    
    inc %PcwSets [ $+ [ $nick ] ] 
    inc %pcwscouts [ $+ [ $ ] ] 
    set %pcwtime $ctime  
    unset %ThePcWSuggested 
    set %pcwsetter $nick  
    set %pcwscouter    
  } 
} 
on $*:TEXT:/^!(pcw|world|w|pestcontrolworld|pestc|pestcontrol)/Si:#:{ 
  inc %pcwtimesused  
  notice $nick 3::::World:::::::: 12 %Chanspcw 3 :::::::: Scouter :::::::: %pcwscouter ::::
  notice $nick 3::::Last Set:::::::: $duration($calc( $ctime - %pcwtime )) ::::::::2nd World::::::: %ThePcwSuggested ::::  
}
on *:TEXT:!setpcw*:#:{ 
  if ($Nick isop $chan) || ($nick ishop $chan) { 
    msg $chan 3¿World Change? Yes! Type !Pcw -or- !World To View It!
    msg $chan 3 »»Scout The World? Type !scouts To View Your $chan Stats!
    set %pcwtime $ctime 
    set %Chanspcw $2 
    set %pcwscouter $3 
    inc %PcwSets [ $+ [ $nick ] ] 
    inc %pcwscouts [ $+ [ %pcwscouter ] ] 
  } 
} 
on *:TEXT:!scouts:#:{ 
  notice $nick 3,15(»Player Info«)(» $nick «)(»Scouts«)(» %pcwscouts [ $+ [ $nick ] ] «)(»Sets«)(» %PcwSets [ $+ [ $nick ] ] «)  
}  
on *:TEXT:!av*:#: {    
  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 $nick $2 has been added to my whitelist 
      /mode $chan +v $2 
    } 
  } 
} 

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