All pastes #332564 Raw Edit

Unnamed

public text v1 · immutable
#332564 ·published 2007-01-30 02:32 UTC
rendered paste body
on *:JOIN:#LuckyPC:{
  if ($nick == $me) || ($nick == luckybot) || ($nick == ^_Volcom_^) halt
  if ($ini(test.ini, $chan, $nick) == Except) {
    msg $chan $nick is an exception!
    Halt
  }


<><><>Here is !wl part<><<>><>><>

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.
}