Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. on *:INPUT:#: {
  2. if ($1 == .eI) && (!$2) {
  3. mode $chan +eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2)
  4. }
  5. if ($2) && ($1 == .eI) {
  6. mode $chan +eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  7. }
  8. if ($1 == .-eI) && (!$2) {
  9. mode $chan -eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2)
  10. }
  11. if ($2) && ($1 == .-eI) {
  12. mode $chan -eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2)
  13. }
  14. if ($1 == .add) || ($1 == .del) || ($1 == .list) {
  15. cs access $chan $remove($1,.) $2-
  16. }
  17.  
  18. if ($1 == .add) && ($$3 isnum) {
  19. $iif($3 > 2, mode $chan $iif($3 == 3,+v) $iif($3 == 4,+h-v) $iif($3 isnum 5-9,+o-hv) $iif($3 > 9,+ao-hv) $str($2 $+ $chr(32),5))
  20. }
  21. if ($left($1,1) == +) || ($left($1,1) == -) {
  22. $iif($remove($1,-,+) isalpha,mode $chan $eval($1-,2))
  23. }
  24. if ($1 == .inv) {
  25. invite $2 $chan
  26. }
  27. if ($1 == .Qkb) {
  28. mode # -vhoaQ+bb $str($1 $+ $chr(32),5) $address($2,2)
  29. mode # -Q
  30. kick # $2 $3-
  31. }
  32. if ($1 == .akick) {
  33. cs akick # add $2-
  34. }
  35. if ($1 = .delakick) {
  36. cs akick # del $2-
  37. }
  38. if ($1 = .aklist) {
  39. cs akick # list
  40. }
  41. if ($1 == .entrymsg) {
  42. cs set # entrymsg $2-
  43. }
  44. if ($1 == .secureops) {
  45. cs set # secureops $2
  46. }
  47. if ($1 == .mlock) {
  48. cs set # mlock $2-
  49. }
  50. if ($1 == .assign) {
  51. bs assign # $2
  52. }
  53. if ($1 == .ucount) {
  54. say The user count for $iif($2,$2,#) is $nick($iif($2,$2,#),0)
  55. }
  56. if ($1 == .id) {
  57. ns id password
  58. }
  59. if ($1 == .addw) {
  60. bs badwords # add $2-
  61. }
  62. if ($1 == .delw) {
  63. bs badwords # del $2-
  64. }
  65. if ($1 == .nu) {
  66. ns update
  67. }
  68. if ($1 == .topiclock) {
  69. cs set # topiclock $2
  70. }
  71. if ($1 == .n) {
  72. /nick $2-
  73. }
  74. if ($1 == .info) {
  75. ns info $2-
  76. }
  77. if ($1 == .glist) {
  78. ns glist
  79. }
  80. if ($1 == .ghost) {
  81. ns ghost $2- password
  82. }
  83. if ($1 == .recover) {
  84. ns recover $2- password
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement