Advertisement
Guest User

Untitled

a guest
Jul 13th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. on *:INPUT:*: {
  2. if ($regex($1,/^[.]add/Si)) {
  3. if ($3 isnum 1-9999) {
  4. cs access $chan add $2 $3
  5. if ($3 == 3) { mode $chan +v $2 }
  6. if ($3 == 4) { mode $chan +h $2 }
  7. if ($3 >= 5 && $3 < 10) { mode $chan +o $2 }
  8. if ($3 >= 10) { mode $chan +ao $2 $2 }
  9. }
  10. if ($3 == owner) {
  11. cs access $chan add $2 9999
  12. mode $chan +qao $str($2 $chr(32),3)
  13. }
  14. if ($3 == founder) {
  15. cs access $chan add $2 9999
  16. cs access $chan founder $2
  17. mode $chan +qao $str($2 $chr(32),3)
  18. }
  19. }
  20. if ($regex($1,/^[.]del$/Si)) {
  21. haltdef
  22. cs access $chan del $2
  23. mode $chan -qaohv $str($2 $chr(32),5)
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement