All pastes #198508 Raw Edit

Unnamed

public text v1 · immutable
#198508 ·published 2006-10-12 01:05 UTC
rendered paste body
on PC:TEXT:!pestw:#:{
  if ( $network == SeersIRC ) {
    if ( %pestflood == 1 ) { notice $nick Please wait before trying that }
    elseif ( %pestflood != 1 ) {
      if ( %pcw != $null ) {
        /set -u120 %pestflood 1
        /set -u10 %pestnick [ $nick ]
        /scid [ %seers ] /notice [ %pestnick ] [ %pcw ]
      }
      elseif ( %pcw == $null ) {
        /scid [ %swift ] /msg #Pest !world
      }
    }
  }
}

on *:NOTICE:*Current PC World*:#pest:{
  if ( $network == SwiftIRC ) { /set %pcw [ $1- ] }
}

on *:NOTICE:*Current PC World*:?:{
  if ( $network == SwiftIRC ) { /set %pcw [ $1- ] }
}

on *:TEXT:*pc-world*changed*:#Pest:{
  if ( $network == SwiftIRC ) { /scid [ %swift ] /msg $chan !world }
}

on *:TEXT:!pc_access:?:{
  /guser PC $nick
}

alias setconnec {
  if ( $network == SwiftIRC ) { 
    if ( $me == liljosh91 ) { set %swift [ $cid ] } 
  }
  elseif ( $network == SeersIRC ) { set %seers [ $cid ] }
}

on *:CONNECT:/setconnec