Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:INPUT:*: {
- if ($regex($1,/^[.]add/Si)) {
- if ($3 isnum 1-9999) {
- cs access $chan add $2 $3
- if ($3 == 3) { mode $chan +v $2 }
- if ($3 == 4) { mode $chan +h $2 }
- if ($3 >= 5 && $3 < 10) { mode $chan +o $2 }
- if ($3 >= 10) { mode $chan +ao $2 $2 }
- }
- if ($3 == owner) {
- cs access $chan add $2 9999
- mode $chan +qao $str($2 $chr(32),3)
- }
- if ($3 == founder) {
- cs access $chan add $2 9999
- cs access $chan founder $2
- mode $chan +qao $str($2 $chr(32),3)
- }
- }
- if ($regex($1,/^[.]del$/Si)) {
- haltdef
- cs access $chan del $2
- mode $chan -qaohv $str($2 $chr(32),5)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement