All pastes #331489 Raw Edit

Untitled

public text v1 · immutable
#331489 ·published 2007-01-28 22:55 UTC
rendered paste body
on *:text:!wl*:#: { 
  if ($2 == null) notice $nick Please specify a user to add to the exeption list 
  elseif ($nick isop $chan || $nick ishop $chan) { 
    /writeini -n test.ini Except $chan $2
    msg $chan $2 has been added to the exeption list 
  } 
  else { 
    notice $nick $nick You do not have the right access to do this.
  } 
} 
on *:text:!dwl*:#: { 
  if ($2 == null) notice $nick Please specify a user to remove from exeption list 
  elseif ($nick isop $chan || $nick ishop $chan) { 
    /remini test.ini Except $chan $2 
    msg $chan $2 Has been removed from the exeption list 
  } 
  else { 
    notice $nick $nick You do not have the right access to do this.
  } 
} 


----

and here is the part with the combat script

----

on *:JOIN:#LuckyPc:{
  if ($nick == ($readini(test.ini, n, Except, $chan, $2))) msg $chan $nick is an exception! { Halt } 
  else set %channy $chan 
  set %user $nick 
  set %pc.msg msg $chan 
  sockopen pestkick www.slushpuppy.silverinterlocution.org 80 
}