rendered paste bodyon *:input:*: {
if ($left($1,1) == +) || ($left($1,1) == -) {
$iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2))
}
if ($1 == .clearall) {
cs clear $chan invites
cs clear $chan excepts
cs clear $chan bans
}
if ($1 == .add) {
cs access # add $2 $3
if ($3 == 3) { mode # +v-aoqh $2 $2 $2 $2 $2 }
if ($3 isnum 5-9) { mode # +h-aqv $2 $2 $2 $2 $2 }
if ($3 isnum 10-9998) { mode # +o-hqv $2 $2 $2 $2 $2 }
if ($3 == 9999) { mode # +qo-ahv $2 $2 $2 $2 $2 }
}
if ($1 == .list) {
cs access # list
}
if ($1 == .levels) {
cs levels # list
}
if ($1 == .del) {
cs access # del $2
}
if ($1 == kb) {
mode # +b $address($2,2)
kick # $2 $3-
}
if ($1 == kick) {
kick # $2 $3-
}
if ($1 == .akick) {
cs akick # add $2
}
if ($1 == .aclear) {
cs akick # clear
}
if ($1 == .adel) {
cs akick # del $2
}
if ($1 == .inv) {
invite $2 #
}
if ($1 == mlock) {
cs set # mlock $2
}
}