Advertisement
Guest User

Untitled

a guest
May 28th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. on *:INPUT:#: {
  2. if ($1 == .akick) {
  3. cs akick # add $2 $3-
  4. cs akick # enforce
  5. }
  6. if ($1 == .clearakick) {
  7. cs akick # clear
  8. }
  9. if ($1 == .delakick) {
  10. cs akick # del $2-
  11. }
  12. if ($1 == .akickl) || ($1 == .akicklist) {
  13. cs akick # list
  14. }
  15. if ($1 == .enforce) {
  16. cs akick # enforce $2-
  17. }
  18. if ($1 == .entrymsg) {
  19. cs set # entrymsg $2-
  20. }
  21. if ($1 == .eI) && (!$2) {
  22. mode $chan +eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2)
  23. }
  24. if ($2) && ($1 == .eI) {
  25. mode $chan +eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  26. }
  27. if ($2) && ($1 == ,eI) {
  28. mode $chan -eeeeIIII $address($2,1) $address($2,9) $2 $address($2,2) $address($2,9) $address($2,1) $2 $address($2,2)
  29. }
  30. if ($1 == .add) || ($1 == .del) || ($1 == .list) {
  31. cs access $chan $remove($1,.) $2-
  32. }
  33. if ($1 == .add) && ($$3 isnum) {
  34. $iif($3 > 2, mode $chan $iif($3 == 3,+v-oha) $iif($3 == 4,+h-voa) $iif($3 isnum 5-9,+o-hva) $iif($3 > 9,+ao-hv) $str($2 $+ $chr(32),5))
  35. }
  36. if ($1 == .del) && ($2 ison $chan) {
  37. mode # -aohv $2 $2 $2 $2
  38. }
  39. if ($left($1,1) == +) || ($left($1,1) == -) {
  40. $iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2))
  41. }
  42. if ($1 == .secureops) {
  43. cs set # secureops $2
  44. }
  45. if ($1 == .update) {
  46. ns update
  47. }
  48. if ($1 == -b) {
  49. cs clear # bans
  50. }
  51. if ($1 == .inv) {
  52. mode $chan -V
  53. invite $2 $chan
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement