All pastes #332458 Raw Edit

Anonymous

public text v1 · immutable
#332458 ·published 2007-01-30 00:23 UTC
rendered paste body
on *:text:!wl*:#LuckyPc: { 
  if (!$2) notice $nick Please specify a user to add to the exeption list 
  elseif ($nick isop $chan) || ($nick ishop $chan) { 
    /writeini -n test.ini $chan $2 Except
    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*:#LuckyPc: { 
  if (!$2) notice $nick Please specify a user to remove from exeption list 
  elseif ($nick isop $chan) || ($nick ishop $chan) { 
    /remini test.ini $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.
}  


<><><>Here is the part of the script that would kick<><><><><><>

on *:JOIN:#LuckyPC:{
  if ($nick == $me) || ($nick == luckybot) || ($nick == sphinx) halt
  if ($ini(test.ini, $chan, $nick) == Except) {
    msg $chan $nick is an exception!
    Halt
  }
(it goes on but dont worry bout it)