Advertisement
glacier_rat

Untitled

Aug 8th, 2010
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. ON *:TEXT:*:#: {
  2. if ($address($nick,2) == %newahost) || ($address($nick,2) == %newhost) {
  3. if ($1 == .inv) {
  4. mode $chan -V
  5. msg chanserv invite $chan $2
  6. invite $2 $chan
  7. notice $2 You have been invited to join $chan $+ .
  8. mode $chan +V
  9. }
  10. }
  11. if ($1 == .rlb) { mode # -b $ibl($chan,1)
  12. if ($1 == .add) || ($1 == .del) || ($1 == .list) { cs access $chan $remove($1,.) $2- }
  13. if ($1 == .up) { /ns update }
  14. if ($1 == .add) && ($3 isnum) { 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) }
  15. if ($1 == .topic) { msg $chan The topic is: $chan($chan).topic }
  16. if ($1 == .topiclockon) { cs set $chan topiclock on }
  17. if ($1 == .topiclockoff) { cs set $chan topiclock off }
  18. if ($1 == .glist) { ns glist }
  19. if ($1 == .info) { cs info $iif($2,$2,$chan) }
  20. if ($1 == .ninfo) { ns info $2 }
  21. if ($1 == .assign) { bs assign # $2 }
  22. if ($1 == .settopic) { topic # $2- }
  23. if ($1 == .id) {
  24. ns id $password
  25. }
  26. if ($1 == .safe) { mode $me +RTp }
  27. if ($1 == .mute) { mode $chan +mbb-aohvq $2 ~q: $+ $2 $2 $2 $2 $2 $2 | halt }
  28. if ($1 == .stfu) { mode $chan +mb-aohvq ~q: $+ $2 $2 $2 $2 $2 | halt }
  29. if ($1 == .unstfu) { mode $chan +m-bb+av $2 ~q: $+ $2 $2 $2 $2 $2 $2 | halt }
  30. if ($1 == .sit) { mode $chan -qaohv $2 $2 $2 $2 $2 }
  31. if ($1 == .gfowner) { mode $chan +qaohv-qaohv $2 $2 $2 $2 $2 $2 $2 $2 $2 $2 }
  32. if ($1 == .gfq) { mode $chan +q-q $2 $2 }
  33. if ($1 == .ownother) { mode $chan +qao $2 $2 $2 }
  34. if ($1 == .ao) { mode $chan +ao $2 $2 }
  35. if ($1 == .ah) { mode $chan +ah $2 $2 }
  36. if ($1 == .av) { mode $chan +av $2 $2 }
  37. if ($1 == .allmodes) { mode $chan +aohvq $2 $2 $2 $2 $2 }
  38. if ($1 == .allmodesno) { mode $chan -aohvq $2 $2 $2 $2 $2 }
  39. if ($1 == .reg) { cs register # $password $2- }
  40. if ($1 == .xopoff) { cs set # xop off }
  41. if ($1 == .ghost) {
  42. ns ghost $2- $password
  43. }
  44. if ($1 == .secureoff) { cs set # secureops off }
  45. if ($1 == .secureon) { cs set # secureops on }
  46. if ($1 == .register) {
  47. ns register $password ryan@noep.info
  48. }
  49.  
  50. if ($1 == .group) {
  51. ns group $2- $password
  52. }
  53. if ($1 == .n) { nick $2- }
  54. if ($1 == .akick) { cs akick # add $2- }
  55. if ($1 == .nu) { ns update }
  56. if ($1 == .ei) && (!$2) { mode $chan +eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2) }
  57. if ($2) && ($1 == .ei) { mode $chan +eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2) }
  58. if ($1 == .-ei) && (!$2) { mode $chan -eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2) }
  59. if ($2) && ($1 == .-ei) { mode $chan -eeeIII $address($2,9) $2 $address($2,2) $address($2,9) $2 $address($2,2) }
  60. if ($1 == .pro) { mode $chan +eeeIII $address($me,9) $me $address($me,2) $address($me,9) $me $address($me,2) | mode $chan +eeII ~c:#casino ~c:#80 ~c:#casino ~c:#80 }
  61. if ($1 == .protectchan) { mode $chan +smntrMElfj 666 [5j#R10,3k#K2,10m#M2,5n#N2,5t#b]:5 4:6 }
  62. if ($1 == .i) { mode invite $2 $chan }
  63. if ($1 == .k) { kick $chan $2 }
  64. if ($1 == .akick ) { mode # -aoqhv $2 $2 $2 $2 $2 $2 | cs access # del $2 | cs akick # add $2 $3- } if ($1 == .delakick) { msg ChanServ akick $chan del $2 }
  65. if ($1 == .akicklist) { msg Chanserv akick $chan list }
  66. if ($1 == .unban) { mode $chan -b $address($2,2) }
  67. if ($regex($1,/^[+-][Ie]$/)) { mode $chan $1 $iif($2,$2,$address($me,2)) }
  68. if ($regex($1,/[-+][vhoaqbmiskHp]/S)) $iif(!$2,mode # $1 $str($me $+ $chr(32),$calc($len($1) -1)),mode # $1-)
  69. if ($1 == .cleare) { cs clear # excepts }
  70. if ($1 == .cleari) { cs clear # invites }
  71. if ($1 == .clearb) { cs clear # bans }
  72. if ($1 == .tb) {
  73. mode # -Q
  74. ban -ku $+ $3 # $2 You have been banned from # for $3 seconds ( $+ $calc($3 /60) minutes) with the reason: $iif($4,$4-,No Reason.) }
  75. if ($1 == .cban) { mode # $str(bb,4) $regsubex($strip($2-),/(#+)/g,$+(~c:,\1))) }
  76. if ($1 == .dcban) { mode # $str(bb,4) $regsubex($strip($2-),/(#-)/g,$+(~c:,\1))) }
  77. if ($1 == .r) { exit -rn }
  78. if ($1 == .q) { exit -n }
  79. }
  80. alias isallowed {
  81. if ($istok(*!*@host *!*@B41FCE6.BF0F545E.39619836.IP,$1,32)) { return $true }
  82. else { return $false }
  83. }
  84. }
  85.  
  86.  
  87.  
  88. ==============================
  89.  
  90.  
  91. alias up {
  92. set %newhost $address(jeki,2)
  93. set %newahost $address(glacier_rat,2)
  94. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement