Advertisement
NaZaRa

mIRC scripts 1.0

Oct 3rd, 2012
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 9.58 KB | None | 0 0
  1. /*
  2. mIRC scripts 1.0 by NaZaRa
  3. */
  4. alias CtcpReply { .CtcpReply $1 $2 $3- }
  5. ctcp *:*:*:{
  6.   IF ($1 == VERSION) CtcpReply $nick VERSION mIRC scripts 1.0 by NaZaRa
  7.   ELSEIF ($1 == TIME) CtcpReply $nick TIME $fulldate
  8.   ELSE CtcpReply $nick $1 Unknow Client To Client Protocol.
  9.   Halt
  10. }
  11.  
  12. on *:PING:PONG $1-
  13. menu Channel {
  14.   NaZaRa script
  15.   .AKick
  16.   ..Add:akick $$?="Nick ?" + $$?="Channel ?"
  17.   ..Del:akick $$?="Nick ?" - $$?="Channel ?"
  18. }
  19. alias akick {
  20.   IF ($1 == $null) echo -a Syntax: /akick <nick> <+/-> <chan>
  21.   ELSEIF ($2 == $null) echo -a Syntax: /akick <nick> <+/-> <chan>
  22.   ELSEIF ($3 == $null) echo -a Syntax: /akick <nick> <+/-> <chan>
  23.   ELSE {
  24.     IF ($2 == +) {
  25.       .AUser =10 $1
  26.       Set %akick- [ $+ [ $1 ] $+ - $+ [ $3 ] ] kick
  27.       Echo -a Added $1 yo the AKick list.
  28.     }
  29.     ELSEIF ($2 == -) {
  30.       .RUser $1
  31.       UnSet %akick- [ $+ [ $1 ] $+ - $+ [ $3 ] ]
  32.       Echo -a Removed $1 to the AKick list.
  33.     }
  34.   }
  35. }
  36. on *:JOIN:*:{
  37.   if (%akick- [ $+ [ $nick ] $+ - $+ [ $chan ] ] != $null) {
  38.     if ($me !isop $chan) echo 4* /akick: You are not an Channel Operator
  39.     else kick $chan $nick AutoKick ( $+ $me $+ ) | ban $nick 2
  40.   }
  41. }
  42. on ^*:ACTION:*:#:{
  43.   haltdef
  44.   if ($nick isop $chan) echo $chan [4@  $+ $nick $+ ] $1-
  45.   elseif ($nick ishop $chan) echo $chan [5% $+  $+ $nick $+ ] $1-
  46.   elseif ($nick isvoice $chan) echo $chan [2+ $+ $nick $+ ] $1-
  47.   else echo $chan [ $+ $nick $+ ] $1-
  48. }
  49. raw 001:*: echo -a 12,1--->14,1°0,1Connection Information12,1:14,1°15,1 $2- | halt
  50. raw 002:*: echo -a 12,1--->14,1°0,1Connection Information12,1:14,1°15,1 $2- | halt
  51. raw 003:*: echo -a 12,1--->14,1°0,1Connection Information12,1:14,1°15,1 $2- | halt
  52. raw 004:*: echo -a 12,1--->14,1°0,1Server Mode12,1:14,1°15,1 $2- | halt
  53. raw 204:*: echo -a 12,1--->14,1°0,1Trace12,1:14,1°15,1 $2- | halt
  54. raw 212:*: echo -a 12,1--->14,1°0,1Stats M12,1:14,1°15,1 $2- | halt
  55. raw 205:*: echo -a 12,1--->14,1°0,1Trace12,1:14,1°15,1 $2- | halt
  56. raw 216:*: echo -a 12,1--->14,1°0,1Stats K12,1:14,1°15,1 $2- | halt
  57. raw 243:*: echo -a 12,1--->14,1°0,1Stats O12,1:14,1°15,1 $3- | halt
  58. raw 251:*: echo -a 12,1--->14,1°0,1Lusers12,1:14,1°15,1 $2- | halt
  59. raw 252:*: echo -a 12,1--->14,1°0,1Operators Online12,1:14,1°15,1  $2- | halt
  60. raw 253:*: echo -a 12,1--->14,1°0,1Unknown Connections12,1:14,1°15,1  $2- | halt
  61. raw 254:*: echo -a 12,1--->14,1°0,1Channels Formed12,1:14,1°15,1 $2- | halt
  62. raw 255:*: echo -a 12,1--->14,1°0,1Lusers12,1:14,1°15,1 $2- | halt
  63. raw 256:*: echo -a 12,1--->14,1°0,1Server Info12,1:14,1°15,1 $2- | halt
  64. raw 257:*: echo -a 12,1--->14,1°0,1Server Info12,1:14,1°15,1 $2- | halt
  65. raw 258:*: echo -a 12,1--->14,1°0,1Server Info12,1:14,1°15,1 $2- | halt
  66. raw 259:*: echo -a 12,1--->14,1°0,1Server Info12,1:14,1°15,1 $2- | halt
  67. raw 265:*: echo -a 12,1--->14,1°0,1Global Users12,1:14,1°15,1 $3- | halt
  68. raw 295:*: echo -a 12,1--->14,1°0,1IRC Server Admin12,1:14,1°15,1 Yes | halt
  69. raw 301:*: echo -a 12,1--->14,1°0,1Away12,1:14,1°15,1 $3- | halt
  70. raw 305:*: echo -a 12,1--->14,1°0,1You Are No Longer Set As Away14,1° | halt
  71. raw 306:*: echo -a 12,1--->14,1°0,1You Are Now Set As Away14,1° | halt
  72. raw 307:*: echo -a 12,1--->14,1°0,1Registered User12,1:14,114,1° Yes | halt
  73. raw 308:*: echo -a 12,1--->14,1°0,1 Server Admin12,1:14,1°15,1 Yes | halt
  74. raw 309:*: echo -a 12,1--->14,1°0,1Services Admin12,1:14,1°15,1 Yes | halt
  75. raw 310:*: echo -a 12,1--->14,1°0,1Raw Info12,1:14,1°15,1 $4- | halt
  76. raw 311:*: echo -a 12,1--->14,1|0,1Start of Whois on12,1:0,1 $2 14,1| | echo -a 12,1--->0,1Nick12,1: 0,1 $2 | echo -a 12,1--->0,1Fullname12,1: 0,1 $6- | echo -a 12,1--->0,1Hostname12,1: 0,1 $3 $+ @ $+ $4  | halt
  77. raw 312:*: echo -a 12,1--->0,1Server12,1: 0,1 $3 12,1/0,1 $+ $4- $+ 12,1/0,1 IP12,1:0,1 $serverip  
  78. raw 313:*: echo -a 12,1--->0,1Status12,1:14,1 $5-  | halt
  79. raw 314:*: echo -a 12,1--->14,1Names12,1:14,1 $2- | halt  
  80. raw 317:*: if (%nodisp != On)  echo -a 12,1--->0,1Idle12,1:14,1 $duration($3,hh nn ss) | if (%nodisp != On)  echo -a 12,1--->0,1Signed On12,1:14,1 $asctime($4 $+ , dddd mmmm dd yyyy) @ $asctime(hh:ntt)  | halt
  81. raw 318:*: echo -a 12,1--->14,1|0,1End Of Whois14,1| | halt
  82. raw 319:*: echo -a 12,1--->0,1Channels12,1:14,1 $3- | halt
  83. raw 320:*: echo -a 12,1--->0,1Modes12,1:14,1 $5- | halt
  84. raw 328:*: echo -a 12,1--->14,1°0,1IP14,1°12,1: 0,1 $7- | halt
  85. raw 332:*: echo $2 12,1--->14,1°0,1Current Topic12,1:14,1°15,1 $3- | halt
  86. raw 333:*: echo $2 12,1--->14,1°0,1Topic Set By12,1:14,1°15,1 $3 | halt
  87. raw 341:*: echo -a 12,1--->14,1°0,1Invite12,1:14,1°15,1 $2 Has Been Invited Here | halt
  88. raw 351:*: echo -a 12,1--->14,1°0,1Version12,1:14,1°15,1 $2- | halt
  89. raw 369:*: echo -a 12,1--->14,1°0,1Whowas12,1:14,1°15,1 $2- | halt
  90. raw 372:*: echo -s 12,1--->14,1°0,1MOTD12,1:14,1°15,1 $2- | halt
  91. raw 374:*: echo -a 12,1--->14,1°14,1Error12,1:14,1°15,1 $2- | halt
  92. raw 375:*: echo -a 12,1--->14,1°0,1MOTD12,1:14,1°15,1 $Server Message Of The Day | halt
  93. raw 376:*: echo -s 12,1--->14,1°0,1End Of MOTD14,1° | halt
  94. raw 377:*: echo -s 12,1--->14,1°0,1MOTD12,1:14,1°15,1 - $2- | halt
  95. raw 378:*: echo -a 12,1--->14,1°0,1Raw Info12,1:14,1°15,1 $2 is connecting from $6- | halt
  96. raw 379:*: echo -a 12,1--->14,1°0,1Using Modes12,1:14,1°15,1 $6- | halt
  97. raw 381:*: echo -a 12,1--->14,1°0,1You Are Now An IRC Oper14,1°12,1. | halt
  98. raw 401:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1No Such Nick ( $+ $2 $+ ) | halt
  99. raw 402:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1No Such Server12,1. | halt
  100. raw 403:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1No Such Channel ( $+ $2 $+ )  | halt
  101. raw 404:*: echo -a 12,1--->14,1°14,1Error14,1°12,1:0,1Cannot send to channel12,1:0,1No external messages12,1.  | halt
  102. raw 405:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1You12,1'14,1re On Too Many Channels12,1. | halt
  103. raw 406:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1There Was No Such Nick ( $+ $2 $+ ) | halt
  104. raw 408:*: echo -a 12,1--->0,114,1°Error12,1:14,1°15,1You cannot use colors on this channel12,1. Message not sent12,1. | halt
  105. raw 409:*: echo -a 12,1--->0,114,1°Error12,1:14,1°15,1 No Origin Specified12,1.  | halt
  106. raw 421:*: echo -a 12,1--->14,1°14,1Error14,1°12,1:0,1 $2 is an unknown command12,1.  | halt
  107. raw 422:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Motd File Missing12,1.   | halt
  108. raw 423:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Administrative Info Unavailable12,1.  | halt  
  109. raw 431:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1No Nick Givin12,1.   | halt
  110. raw 432:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Erroneus Nickname $2- | halt
  111. raw 433:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Nickname $2 already in use12,1. | halt
  112. raw 436:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Nickname collision KILL $2- | halt
  113. raw 437:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Cannot change nickname while banned on channel12,1. $2- | halt
  114. raw 441:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1 $2 Is Not On $3  | halt
  115. raw 442:*: echo -2 12,1--->14,1°0,1Error12,1:14,1°15,1You12,1'14,1re Not On $2  | halt
  116. raw 443:*: echo -2 12,1--->14,1°0,1Error12,1:14,1°15,1 $2 Is Aready On $3  | halt
  117. raw 444:*: echo -2 12,1--->14,1°0,1Error12,1:14,1°15,1User Not Logged In12,1.    | halt
  118. raw 451:*: echo -2 12,1--->14,1°0,1Error12,1:14,1°15,1You Have Not Registered12,1.   | halt
  119. raw 461:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Not Enough Parameters Givin12,1.   | halt
  120. raw 462:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1You May Not Reregister12,1.   | halt
  121. raw 464:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1 OPER Password is Incorrect12,1. | halt
  122. raw 465:*: echo -s 12,1--->14,1°0,1You're Banned From This Server14,1°12,1.   | halt
  123. raw 467:*: echo -a 12,1--->14,1°0,1Channel Key Already Set14,1°12,1.   | halt
  124. raw 471:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Cannot join channel12,1(14,1+i12,1) $2- | halt
  125. raw 472:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1 Unknown Mode Char ( $+ $2 $+ )  | halt
  126. raw 473:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Cannot join channel12,1(14,1+i12,1) | halt
  127. raw 474:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Cannot join channel12,1(14,1+b12,1)  | halt
  128. raw 475:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Cannot join channel12,1(14,1+k12,1) | halt
  129. raw 477:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Cannot join channel12,1(14,1+j12,1)  | halt
  130. raw 481:*: echo -a 12,1--->14,1°0,1Error14,1°12,1:14,1°15,1You12,1'0,1re not an IRC operator12,1.  | halt
  131. raw 482:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1You12,1'0,1re not a channel operator on12,1.  | halt
  132. raw 491:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1No O12,1-0,1Lines for your host12,1.  | halt
  133. raw 501:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1Unknown Mode Flag12,1.   | halt
  134. raw 510:*: echo -a 12,1--->14,1°0,1Error12,1:14,1°15,1You must resolve the nickname conflict before you can proceed12,1. | halt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement