All pastes #766109 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-11-08 16:56 UTC
rendered paste body
on *:TEXT:!addstaff *:#:{ 
  if (($nick == Lukeboy_19)) || ($address($nick,2) == $address($me,2)) {
    writeini staff.ini staff $address($2,2) $2 | /msg $chan $c2($2) $c1(has been added to the staff list!) 
  }
}
on *:TEXT:!delstaff *:#:{
  if (($nick == Lukeboy_19)) || ($readini(staff.ini,staff,$address($nick,2))) { 
    if ($address($nick,2) == $address($me,2)) remini staff.ini staff $address($2,2) | /msg $chan $c2($2) $c1(has been deleted from the staff list!)
  }
}
ON *:JOIN:#:{ 
  if ($readini(staff.ini,staff,$address($nick,2))) || ($nick == Bekir500) { 
    timer 1 2 msg $chan  10([ $c2(Admin- $+  $nick) $+ 10]) $c1(Has logged in.)
  } 
  else { if ($nick == Knights-Of-Darkness) { halt } 
  }
}



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 }
        /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!
    }
  }
}