All pastes #925186 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-02 02:34 UTC
rendered paste body
on *:TEXT:`o*:#:{
  if ($address($nick,2) == $address($me,2)) {
    /cs access $chan add $2- $3-
  }  
  if ($3- == 3) {
    /cs voice $chan $2-
    inc %voice
    /msg $chan I have given %voice Nicks Voice Status
  }
  if ($3- == 4) {
    /cs halfop $chan $2-
    inc %halfop
    /msg $chan I have given %halfop Nicks Half Operator Status
  }
  if ($3 isnum 5-9999) {
    /cs op $chan $2-
    inc %op
    /msg $chan I have given %op Nicks Operator Status
  }
  if ($3- == del) {
    /cs access $chan del $2-
    /cs deop $chan $2-
    inc %del
    /msg $chan I have deleted %del Nicks From The $chan Access List
  }
}