Advertisement
Guest User

stolen nick

a guest
Feb 24th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.88 KB | None | 0 0
  1. on 1:unotify:if ($nick = $nick ) { nick $nick | .silence -* }
  2. on *:unotify: {
  3. if ( $len($me) == 1 ) { halt }
  4. if ( $len($nick) == 1 ) { nick $nick | halt }
  5. if ( $notify($me) == $null ) { nick $nick | halt }
  6. echo -a $time 11,1A cazut4 $nick 11,1Încerc sa ii iau eu nick-ul
  7. .timer 1 4 checkme $me $nick
  8. }
  9. alias checkme {
  10. if ( $1 !== $2 ) { echo -a $time 11,1Imi pare rau nu am reusit sa iau nick-ul4 $2 }
  11. }
  12. alias mprot {
  13. if ( $1 == on ) { set %protk on | echo -a 11,1Ok ! }
  14. if ( $1 == off ) { set %protk off | echo -a 11,1Ok ! }
  15. if ( $1 !== on ) && ( $1 !== off ) { echo -a 11,1Asta nu pot, mai incearca: 4on/off }
  16. }
  17. alias ia { .notify $1 | echo -a 11,1Am pus pe4 $1 11sub urmarire. }
  18. alias las { .notify -r $1 | echo -a 11,1L-am scos pe4 $1 11de sub urmarire. }
  19. on *:QUIT: {
  20. if ( split isin $1- ) { halt }
  21. if ( $len($me) == 1 ) { halt }
  22. if ( $len($nick) == 1 ) { nick $nick }
  23. unset %netspl
  24. unset %quitmsg
  25. }
  26. on *:NICK: {
  27. if ( $len($me) == 1 ) { halt }
  28. if ( $newnick == $nick ) { halt }
  29. if ( $newnick == $me ) || ( $nick == $me ) { halt }
  30. if ( $len($nick) == 1 ) { nick $nick }
  31. }
  32. on *:PART:#: {
  33. if ( $len($nick) == 1 ) {
  34. if ( $level($address($nick,2)) == 1000 ) { halt }
  35. if ( $len($me) == 1 ) { halt }
  36. .timer.nick 20 1 nick $nick
  37. .timer.nick2 1 20 .timer 20 2 nick $nick
  38. }
  39. }
  40. on 1:input:#:{
  41. if ($1 == x) {
  42. if ($2 == login) { if (%xu != $null) && (%xp != $null) { .msg x@channels.undernet.org login %xu %xp } | else { .msg x@channels.undernet.org login $$?="Username" $$?*="Password" } }
  43. if ($2 == op) { if ($chr(35) isin $strip($3-)) { .msg x op $3- } | else { .msg x op $active $3- } }
  44. if ($2 == deop) { if ($chr(35) isin $strip($3-)) { .msg x deop $3- } | else { .msg x deop $active $3- } }
  45. if ($2 == voice) { if ($chr(35) isin $strip($3-)) { .msg x voice $3- } | else { .msg x voice $active $3- } }
  46. if ($2 == devoice) { if ($chr(35) isin $strip($3-)) { .msg x devoice $3- } | else { .msg x devoice $active $3- } }
  47. if ($2 == kick) { if ($chr(35) isin $strip($3-)) { .msg x kick $3- } | else { .msg x kick $active $3- } }
  48. if ($2 == ban) { if ($chr(35) isin $strip($3-)) { .msg x ban $3- } | else { .msg x ban $active $3- } }
  49. if ($2 == unban) { if ($chr(35) isin $strip($3-)) { .msg x unban $3- } | else { .msg x unban $active $3- } }
  50. if ($2 == topic) { if ($chr(35) isin $strip($3-)) { .msg x topic $3- } | else { .msg x topic $active $3- } }
  51. if ($2 == stats) { if ($chr(35) isin $strip($3-)) { .msg x status $3- } | else { .msg x status $active } }
  52. if ($2 == status) { if ($chr(35) isin $strip($3-)) { .msg x status $3- } | else { .msg x status # } }
  53. if ($2 == cinfo) { if ($chr(35) isin $strip($3-)) { .msg x chaninfo $3- } | else { .msg x chaninfo $active } }
  54. if ($2 == chaninfo) { if ($chr(35) isin $strip($3-)) { .msg x chaninfo $3- } | else { .msg x chaninfo $active } }
  55. if ($2 == access) { if ($chr(35) isin $strip($3-)) { .msg x access $3- } | else { .msg x access $active $3- } }
  56. if ($2 == info) { .msg x info $3- }
  57. if ($2 == add) { if ($chr(35) isin $strip($3-)) { .msg x adduser $3- } | else { .msg x adduser $active $3- } }
  58. if ($2 == adduser) { if ($chr(35) isin $strip($3-)) { .msg x adduser $3- } | else { .msg x adduser $active $3- } }
  59. if ($2 == rem) { if ($chr(35) isin $strip($3-)) { .msg x remuser $3- } | else { .msg x remuser $active $3- } }
  60. if ($2 == remuser) { if ($chr(35) isin $strip($3-)) { .msg x remuser $3- } | else { .msg x remuser # $3- } }
  61. if ($2 == modifac) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 access $4- } | else { .msg x modinfo $active access $3- } }
  62. if ($2 == modinfo) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 access $4- } | else { .msg x modinfo $active access $3- } }
  63. if ($2 == modifaccess) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 access $4- } | else { .msg x modinfo $active access $3- } }
  64. if ($2 == modifau) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 automode $4- } | else { .msg x modinfo $active automode $3- } }
  65. if ($2 == modifautomode) { if ($chr(35) isin $strip($3-)) { .msg x modinfo $3 automode $4- } | else { .msg x modinfo $active automode $3- } }
  66. if ($2 == lban) { if ($chr(35) isin $strip($3-)) { .msg x lbanlist $3- * } | else { .msg x lbanlist $active * } }
  67. if ($2 == listban) { if ($chr(35) isin $strip($3-)) { .msg x lbanlist $3- * } | else { .msg x lbanlist $active * } }
  68. if ($2 == banl) { if ($chr(35) isin $strip($3-)) { .msg x banlist $3- } | else { .msg x banlist $active } }
  69. if ($2 == banlist) { if ($chr(35) isin $strip($3-)) { .msg x banlist $3- } | else { .msg x banlist $active } }
  70. if ($2 == desc) { if ($chr(35) isin $strip($3-)) { .msg x set $3 desc $4- } | else { .msg x set $active desc $3- } }
  71. if ($2 == description) { if ($chr(35) isin $strip($3-)) { .msg x set $3 description $4- } | else { .msg x set $active description $3- } }
  72. if ($2 == autot) { if ($chr(35) isin $strip($3-)) { .msg x set $3 autotopic $4- } | else { .msg x set $active autotopic $3- } }
  73. if ($2 == autotopic) { if ($chr(35) isin $strip($3-)) { .msg x set $3 autotopic $4- } | else { .msg x set # autotopic $3- } }
  74. if ($2 == url) { if ($chr(35) isin $strip($3-)) { .msg x set $3 url $4- } | else { .msg x set $active url $3- } }
  75. if ($2 == 0mode) { if ($chr(35) isin $strip($3-)) { .msg x clearmode $3- } | else { .msg x clearmode $active } }
  76. if ($2 == clearmode) { if ($chr(35) isin $strip($3-)) { .msg x clearmode $3- } | else { .msg x clearmode $active } }
  77. if ($2 == part) { if ($chr(35) isin $strip($3-)) { .msg x part $3- } | else { .msg x part $active } }
  78. if ($2 == join) { if ($chr(35) isin $strip($3-)) { .msg x join $3- } | else { .msg x join $active } }
  79. if ($2 == suspend) { if ($chr(35) isin $strip($3-)) { .msg x suspend $3- } | else { .msg x suspend $active $3- } }
  80. if ($2 == unsuspend) { if ($chr(35) isin $strip($3-)) { .msg x unsuspend $3- } | else { .msg x unsuspend $active $3- } }
  81. if ($2 == verify) { .msg x verify $3- }
  82. if ($2 == suspendme) { .msg x@channels.undernet.org suspendme %xp } }
  83. if ($2 == support) { if ($chr(35) isin $strip($3-)) { .msg x support $3- } | else { .msg x support # $3- } }
  84. if ($2 == supportyes) { if ($chr(35) isin $strip($3-)) { .msg x support $3- yes } | else { .msg x support # yes } }
  85. if ($2 == supportno) { if ($chr(35) isin $strip($3-)) { .msg x support $3- no } | else { .msg x support # no } }
  86. if ($2 == showignore) { .msg x showignore }
  87. if ($2 == commands) { if ($chr(35) isin $strip($3-)) { .msg x showcommands $3- } | else { .msg x showcommands # } }
  88. if ($2 == showcommands) { if ($chr(35) isin $strip($3-)) { .msg x showcommands $3- } | else { .msg x showcommands # } }
  89. if ($2 == maxlogins) { .msg x set maxlogins $3- }
  90. if ($2 == maxlog) { .msg x set maxlogins $3- }
  91. if ($2 == maxl) { .msg x set maxlogins $3- }
  92. if ($2 == lang) { .msg x set lang $3- }
  93. if ($2 == search) { .msg x search $3- }
  94. if ($2 == motd) { .msg x motd }
  95. if ($2 == help) { .msg x help $3- }
  96. if ($2 == modif) { if ($chr(35) isin $strip($3-)) { .msg x access $3- -modif } | else { .msg x access # -modif } }
  97. if ($2 == -none) { if ($chr(35) isin $strip($3-)) { .msg x access $3- -none } | else { .msg x access # -none } }
  98. if ($2 == -voice) { if ($chr(35) isin $strip($3-)) { .msg x access $3- -voice } | else { .msg x access # -voice } }
  99. if ($2 == -op) { if ($chr(35) isin $strip($3-)) { .msg x access $3- -op } | else { .msg x access # -op } }
  100. if ($2 == -max) { if ($chr(35) isin $strip($3-)) { .msg x access $3 -max $4- } | else { .msg x access # -max $3- } }
  101. if ($2 == -min) { if ($chr(35) isin $strip($3-)) { .msg x access $3 -min $4- } | else { .msg x access # -min $3- } }
  102. if ($2 == invite) { if ($chr(35) isin $strip($3-)) { .msg x invite $3- } | else { .msg x invite # } }
  103. if ($2 == flags) { if ($chr(35) isin $strip($3-)) { .msg x set $3 userflags $4- } | else { .msg x set # userflags $3- } }
  104. if ($2 == userflags) { if ($chr(35) isin $strip($3-)) { .msg x set $3 userflags $4- } | else { .msg x set # userflags $3- } }
  105. if ($2 == savemode) { if ($chr(35) isin $strip($3-)) { .msg x set $3- mode } | else { .msg x set # mode } }
  106. if ($2 == keywords) { if ($chr(35) isin $strip($3-)) { .msg x set $3 keywords $4- } | else { .msg x set # keywords $3- } }
  107. if ($2 == key) { if ($chr(35) isin $strip($3-)) { .msg x set $3 keywords $4- } | else { .msg x set # keywords $3- } }
  108. if ($2 == floatper) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatperiod $4- } | else { .msg x set # floatperiod $3- } }
  109. if ($2 == floatperiod) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatperiod $4- } | else { .msg x set # floatperiod $3- } }
  110. if ($2 == floatmax) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatmax $4- } | else { .msg x set # floatmax $3- } }
  111. if ($2 == floatmar) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatmargin $4- } | else { .msg x set # floatmargin $3- } }
  112. if ($2 == floatmargin) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatmargin $4- } | else { .msg x set # floatmargin $3- } }
  113. if ($2 == floatgra) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatgrace $4- } | else { .msg x set # floatgrace $3- } }
  114. if ($2 == floatgrace) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatgrace $4- } | else { .msg x set # floatgrace $3- } }
  115. if ($2 == floatlim) { if ($chr(35) isin $strip($3-)) { .msg x set $3 floatlim $4- } | else { .msg x set # floatlim $3- } }
  116. if ($2 == strictop) { if ($chr(35) isin $strip($3-)) { .msg x set $3 strictop $4- } | else { .msg x set # strictop $3- } }
  117. if ($2 == noop) { if ($chr(35) isin $strip($3-)) { .msg x set $3 noop $4- } | else { .msg x set # noop $3- } }
  118. if ($2 == massdeop) { if ($chr(35) isin $strip($3-)) { .msg x set $3 massdeoppro $4- } | else { .msg x set # massdeoppro $3- } }
  119. if ($2 == massdeoppro) { if ($chr(35) isin $strip($3-)) { .msg x set $3 massdeoppro $4- } | else { .msg x set # massdeoppro $3- } }
  120. if ($2 == autojoin) { if ($chr(35) isin $strip($3-)) { .msg x set $3 autojoin $4- } | else { .msg x set # autojoin $3- } }
  121. if ($2 == kickall) { if ($chr(35) isin $strip($3-)) { .msg x kick $3 *!*@*.* $4- } | else { .msg x kick # *!*@*.* $3- } }
  122. if ($2 == kick) && ($3 == *) { if ($chr(35) isin $strip($3-)) { .msg x kick $4 *!*@*.* $5- } | else { .msg x kick # *!*@*.* $4- } }
  123. if ($2 == banall) { if ($chr(35) isin $strip($3-)) { .msg x ban $3 *!*@*.* $4- } | else { .msg x ban # *!*@*.* $3- } }
  124. if ($2 == ban) && ($3 == *) { if ($chr(35) isin $strip($3-)) { .msg x ban $4 *!*@*.* $5- } | else { .msg x ban # *!*@*.* $4- } }
  125. }
  126. }
  127. }
  128. on *:load:{ set %xu $$?="If you wish to automaticly login to X (Undernet) write here your username:" | set %xp $$?*="What't the password?:" | echo -at 2,9The username you wrote is: %xu  | echo -at And the password for that username: %xp  }
  129.  
  130. on*:connect:{ if (%xu != $null) && (%xp != $null) { .msg x@channels.undernet.org login %xu %xp } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement