All pastes #766137 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-08 17:15 UTC
rendered paste body
On *:TEXT:.add *:#:{
  if ($readini(staff.ini,staff,$address($nick,2))) {
    if ($2 == $null) { Notice $nick ERROR: .add NICK LVL| HALT }
    if ($3 == $null) { Notice $nick ERROR: .add $2 LVL| HALT }
    else {
      /cs access #kod add $2 $3 | msg $chan $c2($2) $c1(is now added to access lvl:) $c1($3) 
    }
  }
  else { /notice $nick You dont have access to do this!
  }
}