Advertisement
Guest User

Untitled

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