All pastes #418356 Raw Edit

Something

public text v1 · immutable
#418356 ·published 2007-03-31 16:14 UTC
rendered paste body
on *:TEXT:!global *:#pest-100,#pest-100.staff: { 
  if ( $nick isop $chan || $nick ishop $chan ) { 
  msg #pest-100 3[Global Message - $nick $+ 3]12 $2- | msg #pest-100.staff 4[Global- $+ $nick $+ 4]12 $2- } 
} 
on *:TEXT:!lag:#pest-100,#pest-100.staff: { if ( $nick isop $chan ) { notice $nick [My Current Lag Is: %zlag.current $+ s. (Highest: %zlag.highest $+ s. Lowest: %zlag.lowest $+ s.) } } 
on *:TEXT:!setworld *:#pest-100,#pest-100.staff: { if ( $nick isop $chan || $nick ishop $chan ) { 
    set %world $2- 
    set %ht $ctime 
    set %nick $nick 
  msg #pest-100 3[12PC-World Update3] 12The Pest Control World has been updated by %nick $+ ! | msg #pest-100.staff 3[12PC-World Update3] 12The Pest Control World has been updated by $nick $+ ! } 
  elseif ( $nick isvoice $chan ) { halt } 
} } 
on *:INVITE:#: { 
  if ($nick == Jereh) { join $2- } 
  else { msg $nick Im sorry, but this bot can not be invited to any other channel. It is only to be used for #pest-100. } 
} 
on *:TEXT:!world:#pest-100,#pest-100.staff: { inc %pcwcount 1 | notice $nick 3[12Pest-Control World -4 %world $+ 12. Set by %nick $duration($calc($ctime - %ht)) ago $+ .3] } } 
on *:TEXT:!pcw:#pest-100,#pest-100.staff: { inc %pcwcount 1 | notice $nick 3[12Pest-Control World -4 %world $+ 12. Set by %nick $duration($calc($ctime - %ht)) ago $+ .3] } } 
on *:TEXT:!users:#: { notice $nick There are currently $nick($chan,0) users on $chan $+ .  $nick($chan,0,o) Ops, $nick($chan,0,h) Halfops, $nick($chan,0,v) Voiced, and $nick($chan,0,r) Regular. } 
on *:TEXT:@users:#: { msg $chan There are currently $nick($chan,0) users on $chan $+ .  $nick($chan,0,o) Ops, $nick($chan,0,h) Halfops, $nick($chan,0,v) Voiced, and $nick($chan,0,r) Regular. } 
on *:TEXT:!calc *:#: { notice $nick $2- = $calc($2-) } 
on *:TEXT:!pcwcount*:*: { /notice $nick The !pcw/!world Command count: %pcwcount } 
on *:TEXT:!pcwrehash *:#pest-100,#pest-100.staff: { 
  if ( $nick isop $chan ) { msg $chan 3Rehasing the Bot. The Scripts will reload in $2 seconds. During this time, !pcw, !world, and all my other bot commands will be disabled temporarily.  | remote off | timer 1 $2 remote on | timer 1 $calc($2 - 1) msg $chan 3The Scripts have been reloaded. }