All pastes #597947 Raw Edit

Stuff

public text v1 · immutable
#597947 ·published 2007-06-30 23:07 UTC
rendered paste body
on *:INPUT:#:{
  if ($1 == .add) && ($3 isnum 1-9999) && ($2) {
    cs access $chan add $2 $3
    echo -a Added $2 to access list @ $chan - " $+ $3 $+ " access.
    if ($1 == .del) && ($2) {
      cs access $chan del $2
      echo -a Deleted $2 from access list @ $chan $+ .
    }
  }
}