home *** CD-ROM | disk | FTP | other *** search
/ HaCKeRz Kr0nlcKLeZ 1 / HaCKeRz Kr0nlcKLeZ.iso / scriptz / shaggy.exe / aliases.ini next >
Encoding:
INI File  |  1997-03-24  |  28.9 KB  |  626 lines

  1. ounter $+  [ $readini $mircdir $+ xdcc.ini %packet dl ] $+ x $chr(91) $+  $+ [ $readini $mircdir $+ xdcc.ini %packet size ] $+ B $+  $+ $chr(93) $readini $mircdir $+ xdcc.ini %packet name
  2. n535=    }
  3. n536=    else {
  4. n537=      msg #  $+ $chr(35) $+ %counter $+  [ $readini $mircdir $+ xdcc.ini %packet dl ] $+ x $chr(91) $+  $+ [ $readini $mircdir $+ xdcc.ini %packet size ] $+ B $+  $+ $chr(93) $readini $mircdir $+ xdcc.ini %packet name
  5. n538=      msg # ^: [ %xcomm ]
  6. n539=    }
  7. n540=    inc %counter
  8. n541=    goto begin
  9. n542=  }
  10. n543=  unset %counter %total %packet %xcomm
  11. n544=}
  12. n545=/xsum {
  13. n546=  %slots = %maxslots - $send(0)
  14. n547=  set %total $readini $mircdir $+ xdcc.ini main total
  15. n548=  msg # [BⁿGGδD] ** %total pack(s) * %slots of %maxslots slots open * Record: [ %cpsrecord ] $+ cps * Min: [ %minspeed ] $+ cps **
  16. n549=  msg # [BⁿGGδD] Type '/ctcp $me XDCC LIST' for a summary of all packs
  17. n550=  unset %total
  18. n551=}
  19. n552=/minspeed {
  20. n553=  set %one 0
  21. n554=  :start
  22. n555=  inc %one
  23. n556=  if ( $send(%one).cps == $null ) { goto end }
  24. n557=  if ( % [ $+ [ $nick [ $+ [ xdcc ] ] ] ] == checked ) { goto start }
  25. n558=  if ( $send(%one).status == waiting ) {
  26. n559=    .notice $send(%one) [BⁿGGδD] You have DCCs Pending... Type '/ctcp $me XDCC GET'
  27. n560=    %file = $send(%one).file 
  28. n561=    %files = $findfile(%directory,%file,1) | close -s $send(%one) | halt
  29. n562=  }
  30. n563=  if ( $send(%one).cps < %minspeed ) {
  31. n564=    .notice $send(%one) [BⁿGGδD] MinSpeed: [ $send(%one).cps ] $+ cps < [ %minspeed ] $+ cps - Closing Link
  32. n565=    echo 12 -a [BⁿGGδD] DCC Send Check 4< FAILED 4> $send(%one) 4< [ $send(%one).cps ] $+ cps < [ %minspeed ] $+ cps 4> Closing Link
  33. n566=    close -s $send(%one)
  34. n567=  }
  35. n568=  if ( $send(%one).cps > %minspeed ) {
  36. n569=    .notice $send(%one) [BⁿGGδD] MinSpeed: [ $send(%one).cps ] $+ cps > [ %minspeed ] $+ cps - Please Drive Thru
  37. n570=    echo 12 -a [BⁿGGδD] DCC Send Check 4< PASSED 4> $send(%one) [ $send(%one).cps ] $+ cps > [ %minspeed ] $+ cps
  38. n571=    set % [ $+ [ $send(%one) [ $+ [ xdcc ] ] ] ] checked | .timer 1 200 unset % [ $+ [ $send(%one) [ $+ [ xdcc ] ] ] ]
  39. n572=  }
  40. n573=  goto start
  41. n574=  :end
  42. n575=}
  43.  
  44. [Aliases]
  45. n0=/f5 { ignore -tu45 %ignored | echo 12 $active -=* %ignored is now being ctcp ignored. | timer 1 45 echo 12 $active -=* %ignored is now unignored }
  46. n1=/join1 /play seen.txt 
  47. n2=/part /play exit.txt 
  48. n3=/kick1 /play kick.txt 
  49. n4=/op /mode # +ooo $$1 $2 $3
  50. n5=/dop /mode # -ooo $$1 $2 $3
  51. n6=/j /join #$$1
  52. n7=/p /part #
  53. n8=/n /names #$$1
  54. n9=/w /whois $$1
  55. n10=/k /kick # $$1
  56. n11=/q /query $$1
  57. n12=/hop /part # | /join #$$1
  58. n13=/send /dcc send $1 $2
  59. n14=/chat /dcc chat $1
  60. n15=/ping /ctcp $$1 ping
  61. n16=/b /ban # $nick
  62. n17=/c {
  63. n18=  if ($1 == /me) { %cmd = me | %txt = *2 }
  64. n19=  elseif ($1 == /echo) { %cmd = echo | %txt = *2 }
  65. n20=  elseif ($1 == /sound) { %cmd = sound $2 | %txt = *3 }
  66. n21=  elseif ($1 == /onotice) { %cmd = onotice # Ops: | %txt = *2 }
  67. n22=  elseif ($1 == /msg) { %cmd = msg $2 | %txt = *3 }
  68. n23=  elseif ($1 == /notice) { %cmd = notice $2 | %txt = *3 }
  69. n24=  else { %cmd = say | %txt = *1 } 
  70. n25=  %i = 1 | %ctxt = $chr(3)
  71. n26=  :nxtc
  72. n27=  %rnd = $rand(1,15)
  73. n28=  if ( %rnd == 8 || %rnd == 9 || %rnd == 11 || %rnd == 15 ) { goto nxtc } 
  74. n29=  if ( $mid( %i, 1, %txt ) == $chr(32) ) { %ctxt = %ctxt $+ $chr(32) $+ $chr(3) }
  75. n30=  elseif ( $mid( %i, 1,%txt ) >= $chr(48) && $mid( %i, 1, %txt ) <= $chr(57) ) { 
  76. n31=    if ( %rnd < 10 ) { %ctxt = %ctxt $+ 0 $+ %rnd $+ $mid( %i, 1, %txt ) $+ $chr(3) }
  77. n32=    else { %ctxt = %ctxt $+ %rnd $+ $mid( %i, 1, %txt ) $+ $chr(3) }
  78. n33=  }
  79. n34=  else { %ctxt = %ctxt $+ %rnd $+ $mid( %i, 1, %txt ) $+ $chr(3) }
  80. n35=  if ( %i < $len( %txt ) ) { inc %i | goto nxtc }  
  81. n36=  else { %cmd %ctxt }
  82. n37=  unset %cmd %txt %i %ctxt %rnd
  83. n38=}
  84. n39=/wc {
  85. n40=  if ($1 == /me) { %cmd = me | %txt = *2 }
  86. n41=  elseif ($1 == /echo) { %cmd = echo | %txt = *2 }
  87. n42=  elseif ($1 == /sound) { %cmd = sound $2 | %txt = *3 }
  88. n43=  elseif ($1 == /onotice) { %cmd = onotice # Ops: | %txt = *2 }
  89. n44=  elseif ($1 == /msg) { %cmd = msg $2 | %txt = *3 }
  90. n45=  elseif ($1 == /notice) { %cmd = notice $2 | %txt = *3 }
  91. n46=  else { %cmd = say | %txt = *1 } 
  92. n47=  %i = 1 | %ctxt = $chr(3)
  93. n48=  :nxtc
  94. n49=  %rnd = $rand(1,15)
  95. n50=  if ( %rnd == 8 || %rnd == 9 || %rnd == 11 || %rnd == 15 ) { goto nxtc } 
  96. n51=  if ( %rnd < 10 ) { %ctxt = %ctxt $+ 0 $+ %rnd }
  97. n52=  else { %ctxt = %ctxt $+ %rnd }
  98. n53=  :nxtchr
  99. n54=  if ( $mid( %i, 1, %txt ) != $chr(32) ) { 
  100. n55=    %ctxt = %ctxt $+ $mid( %i, 1, %txt ) 
  101. n56=    if ( %i < $len( %txt ) ) { inc %i | goto nxtchr }
  102. n57=    else { %cmd %ctxt }
  103. n58=  }
  104. n59=  else { 
  105. n60=    if ( %i < $len( %txt ) ) { %ctxt = %ctxt $+ $chr(32) $+ $chr(3) | inc %i | goto nxtc }
  106. n61=    else { %cmd %ctxt }
  107. n62=  }
  108. n63=  unset %cmd %txt %i %ctxt %rnd
  109. n64=}
  110. n65=/rc {
  111. n66=  if ($1 == /me) { %cmd = me | %txt = *2 }
  112. n67=  elseif ($1 == /echo) { %cmd = echo | %txt = *2 }
  113. n68=  elseif ($1 == /sound) { %cmd = sound $2 | %txt = *3 }
  114. n69=  elseif ($1 == /onotice) { %cmd = onotice # Ops: | %txt = *2 }
  115. n70=  elseif ($1 == /msg) { %cmd = msg $2 | %txt = *3 }
  116. n71=  elseif ($1 == /notice) { %cmd = notice $2 | %txt = *3 }
  117. n72=  else { %cmd = say | %txt = *1 } 
  118. n73=  %i = 1 | %ctxt = $chr(3)
  119. n74=  :nxtfc
  120. n75=  %frnd = $rand(1,16)
  121. n76=  if ( %frnd == 1 || %frnd == 2 || %frnd == 3 || %frnd == 5 || %frnd == 6 || %frnd == 7 || %frnd == 10 || %frnd == 14 ) { goto nxtfc } 
  122. n77=  if ( $mid( %i, 1, %txt ) == $chr(32) ) { %ctxt = %ctxt $+ %frnd $+ ,01 $+ $chr(32) $+ $chr(3) }
  123. n78=  else {
  124. n79=    if ( %i == 1 ) { %ctxt = %ctxt $+ 1,01 $+ $chr(32) $+ $chr(3) $+ $+ %frnd $+ ,01 $+ $mid( %i, 1, %txt ) }
  125. n80=    else { %ctxt = %ctxt $+ %frnd $+ ,01 $+ $mid( %i, 1, %txt ) }
  126. n81=  } 
  127. n82=  if ( %i < $len( %txt ) ) { inc %i | %ctxt = %ctxt $+ $chr(3) | goto nxtfc }   
  128. n83=  else { %cmd %ctxt $+ $chr(32) $+ $chr(3) }
  129. n84=  unset %cmd %txt %i %ctxt %frnd
  130. n85=}
  131. n86=/bc {
  132. n87=  if ($1 == /me) { %cmd = me | %txt = *2 }
  133. n88=  elseif ($1 == /echo) { %cmd = echo | %txt = *2 }
  134. n89=  elseif ($1 == /sound) { %cmd = sound $2 | %txt = *3 }
  135. n90=  elseif ($1 == /onotice) { %cmd = onotice # Ops: | %txt = *2 }
  136. n91=  elseif ($1 == /msg) { %cmd = msg $2 | %txt = *3 }
  137. n92=  elseif ($1 == /notice) { %cmd = notice $2 | %txt = *3 }
  138. n93=  else { %cmd = say | %txt = *1 } 
  139. n94=  %bc = $rand(1,15)
  140. n95=  if (%bc < 10 ) { %tbc = 0 $+ %bc | %bc = %tbc | unset %tbc }
  141. n96=  if ( %bc == 01 ) { %fstr = 0408091112131516 }
  142. n97=  elseif ( %bc == 02 ) { %fstr = 030408091112131516 }
  143. n98=  elseif ( %bc == 03 ) { %fstr = 010204050608091112131516 }
  144. n99=  elseif ( %bc == 04 ) { %fstr = 010203050608091011121516 }
  145. n100=  elseif ( %bc == 05 ) { %fstr = 030408091112131516 }
  146. n101=  elseif ( %bc == 06 ) { %fstr = 01030408091012131516 }
  147. n102=  elseif ( %bc == 07 ) { %fstr = 01020506080912131516 }
  148. n103=  elseif ( %bc == 08 ) { %fstr = 0102030405060710121314 }
  149. n104=  elseif ( %bc == 09 ) { %fstr = 0102030405060710121314 }
  150. n105=  elseif ( %bc == 10 ) { %fstr = 0102040506080911131516 }
  151. n106=  elseif ( %bc == 11 ) { %fstr = 0102030405060710121314 }
  152. n107=  elseif ( %bc == 12 ) { %fstr = 010405060809111316 }
  153. n108=  elseif ( %bc == 13 ) { %fstr = 010203040506080910111216 }
  154. n109=  elseif ( %bc == 14 ) { %fstr = 01020405060809111316 }
  155. n110=  else { %fstr = 010203040506070809101112131416 }
  156. n111=  %i = 1 | %ctxt = $chr(3) | %nclrs = $len(%fstr) | %nclrs = %nclrs / 2
  157. n112=  :nxtfc
  158. n113=  %fcn = $rand(1,%nclrs) | %fcp = %fcn * 2 | dec %fcp | %fc = $mid(%fcp,2,%fstr)
  159. n114=  if ( $mid( %i, 1, %txt ) == $chr(32) ) { %ctxt = %ctxt $+ %fc $+ , $+ %bc $+ $chr(32) $+ $chr(3) }
  160. n115=  else {
  161. n116=    if ( %i == 1 ) { %ctxt = %ctxt $+ %fc $+ , $+ %bc $+ $chr(32) $+ $chr(3) $+ $+ %fc $+ , $+ %bc $+ $mid( %i, 1, %txt ) }
  162. n117=    else { %ctxt = %ctxt $+ %fc $+ , $+ %bc $+ $mid( %i, 1, %txt ) }
  163. n118=  } 
  164. n119=  if ( %i < $len( %txt ) ) { inc %i | %ctxt = %ctxt $+ $chr(3) | goto nxtfc }   
  165. n120=  else { %cmd %ctxt $+ $chr(32) $+ $chr(3) }
  166. n121=  unset %cmd %txt %i %ctxt %bc %fstr %nclrs %fcn %fcp %fc 
  167. n122=}
  168. n123=/bcr {
  169. n124=  if ($1 == /me) { %cmd = me | %txt = *2 }
  170. n125=  elseif ($1 == /echo) { %cmd = echo | %txt = *2 }
  171. n126=  elseif ($1 == /sound) { %cmd = sound $2 | %txt = *3 }
  172. n127=  elseif ($1 == /onotice) { %cmd = onotice # Ops: | %txt = *2 }
  173. n128=  elseif ($1 == /msg) { %cmd = msg $2 | %txt = *3 }
  174. n129=  elseif ($1 == /notice) { %cmd = notice $2 | %txt = *3 }
  175. n130=  else { %cmd = say | %txt = *1 } 
  176. n131=  %i = 1 | %ctxt = $chr(3)
  177. n132=  :nxtfc
  178. n133=  %bc = $rand(1,15)
  179. n134=  if (%bc < 10 ) { %tbc = 0 $+ %bc | %bc = %tbc | unset %tbc }
  180. n135=  if ( %bc == 01 ) { %fstr = 0408091112131516 }
  181. n136=  elseif ( %bc == 02 ) { %fstr = 030408091112131516 }
  182. n137=  elseif ( %bc == 03 ) { %fstr = 010204050608091112131516 }
  183. n138=  elseif ( %bc == 04 ) { %fstr = 010203050608091011121516 }
  184. n139=  elseif ( %bc == 05 ) { %fstr = 030408091112131516 }
  185. n140=  elseif ( %bc == 06 ) { %fstr = 01030408091012131516 }
  186. n141=  elseif ( %bc == 07 ) { %fstr = 01020506080912131516 }
  187. n142=  elseif ( %bc == 08 ) { %fstr = 0102030405060710121314 }
  188. n143=  elseif ( %bc == 09 ) { %fstr = 0102030405060710121314 }
  189. n144=  elseif ( %bc == 10 ) { %fstr = 0102040506080911131516 }
  190. n145=  elseif ( %bc == 11 ) { %fstr = 0102030405060710121314 }
  191. n146=  elseif ( %bc == 12 ) { %fstr = 010405060809111316 }
  192. n147=  elseif ( %bc == 13 ) { %fstr = 010203040506080910111216 }
  193. n148=  elseif ( %bc == 14 ) { %fstr = 01020405060809111316 }
  194. n149=  else { %fstr = 010203040506070809101112131416 }
  195. n150=  %nclrs = $len(%fstr) | %nclrs = %nclrs / 2
  196. n151=  %fcn = $rand(1,%nclrs) | %fcp = %fcn * 2 | dec %fcp | %fc = $mid(%fcp,2,%fstr)
  197. n152=  if ( $mid( %i, 1, %txt ) == $chr(32) ) { %ctxt = %ctxt $+ %fc $+ , $+ %bc $+ $chr(32) $+ $chr(3) }
  198. n153=  else {
  199. n154=    if ( %i == 1 ) { %ctxt = %ctxt $+ %fc $+ , $+ %bc $+ $chr(32) $+ $chr(3) $+ $+ %fc $+ , $+ %bc $+ $mid( %i, 1, %txt ) }
  200. n155=    else { %ctxt = %ctxt $+ %fc $+ , $+ %bc $+ $mid( %i, 1, %txt ) }
  201. n156=  } 
  202. n157=  if ( %i < $len( %txt ) ) { inc %i | %ctxt = %ctxt $+ $chr(3) | goto nxtfc }   
  203. n158=  else { %cmd %ctxt $+ $chr(32) $+ $chr(3) }
  204. n159=  unset %cmd %txt %i %ctxt %bc %fstr %nclrs %fcn %fcp %fc 
  205. n160=}
  206. n161=/xc {
  207. n162=  if ($1 == /me) { %cmd = me | %txt = *2 }
  208. n163=  elseif ($1 == /echo) { %cmd = echo | %txt = *2 }
  209. n164=  elseif ($1 == /sound) { %cmd = sound $2 | %txt = *3 }
  210. n165=  elseif ($1 == /onotice) { %cmd = onotice # Ops: | %txt = *2 }
  211. n166=  elseif ($1 == /msg) { %cmd = msg $2 | %txt = *3 }
  212. n167=  elseif ($1 == /notice) { %cmd = notice $2 | %txt = *3 }
  213. n168=  else { %cmd = say | %txt = *1 } 
  214. n169=  %i = 1 | %bc = 03 | %ctxt = $chr(3)
  215. n170=  :nxtc
  216. n171=  if ( $mid( %i, 1, %txt ) == $chr(32) ) { %ctxt = %ctxt $+ 16, $+ %bc $+ $chr(32) $+ $chr(3) }
  217. n172=  else { %ctxt = %ctxt $+ 16, $+ %bc $+ $mid( %i, 1, %txt ) }
  218. n173=  if ( %bc = 03 ) { %bc = 04 }
  219. n174=  else { %bc = 03 }
  220. n175=  if ( %i < $len( %txt ) ) { inc %i | %ctxt = %ctxt $+ $chr(3) | goto nxtc }   
  221. n176=  else { %cmd %ctxt }
  222. n177=  unset %cmd %i %bc %txt %ctxt
  223. n178=}
  224. n179=abcvote {
  225. n180=  .enable #abcpoll
  226. n181=  set %a 0
  227. n182=  set %b 0
  228. n183=  set %c 0
  229. n184=  set %abcquestion $?="Enter Question"
  230. n185=  set %avalue $?="Enter First Option"
  231. n186=  set %bvalue $?="Enter Second Option"
  232. n187=  set %cvalue $?="Enter Third Option"
  233. n188=  msg # 9,1Voting Polls Have Opened!
  234. n189=  msg # 9,1The Poll Topic For Now Is:8,1 %abcquestion
  235. n190=  msg # 9,1Voting Canidates Are:
  236. n191=  msg # 4,1[A] %avalue [B] %bvalue [C] %cvalue
  237. n192=  msg # 9,1Type 4!Vote <A, B -Or- C>9 To Vote 
  238. n193=  .timer 1 60 msg # 13,1Only --->60<--- Sec. Left To Vote !Vote <A, B -Or- C>
  239. n194=  .timer 1 120 abclose
  240. n195=}
  241. n196=abclose {
  242. n197=  disable #abcpoll
  243. n198=  set %a %a * 1
  244. n199=  set %b %b * 1
  245. n200=  set %c %c * 1
  246. n201=  set %totalabc %totalabc * 1
  247. n202=  msg # 4,1The Polls Are Now Closed...
  248. n203=  msg # 13,1Drumroll Please...
  249. n204=  msg # 8,1 %totalabc Of The Users In # Voted On: %abcquestion $+ !!!
  250. n205=  msg # 8,1[A]  %avalue Got %a [B] %bvalue Got %b [C] %cvalue Got %c
  251. n206=  if ((%a > %b) && (%a > %c)) goto awin
  252. n207=  if ((%a > %b) && (%a = %c)) goto aandc
  253. n208=  if ((%a > %c) && (%a = %b)) goto aandb
  254. n209=  if ((%a < %b) && (%c < %b)) goto bwin
  255. n210=  if ((%a < %b) && (%c = %b)) goto bandc
  256. n211=  if ((%a < %c) && (%c > %b)) goto cwin
  257. n212=  if ((%a = %b) && (%a = %c)) goto equal
  258. n213=  :awin
  259. n214=  msg # 9,1The Majority Voted For [A] %avalue $+ !!!! 
  260. n215=  goto end
  261. n216=  :bwin
  262. n217=  msg # 9,1The Majority Voted For [B] %bvalue $+ !!!! 
  263. n218=  goto end
  264. n219=  :cwin
  265. n220=  msg # 9,1The Majority Voted For [C] %cvalue $+ !!!! 
  266. n221=  goto end
  267. n222=  :equal
  268. n223=  msg # 9,1It's A Tie!!! D<>>>>>>>>>> 
  269. n224=  goto end
  270. n225=  :aandb
  271. n226=  msg # 9,1[A] %avalue & [B] %bvalue Were Tied!! 
  272. n227=  goto end
  273. n228=  :aandc
  274. n229=  msg # 9,1[A] %avalue & [C] %cvalue Were Tied!! 
  275. n230=  goto end
  276. n231=  :bandc
  277. n232=  msg # 9,1[B] %bvalue & [C] %cvalue Were Tied!! 
  278. n233=  :end
  279. n234=  unset %a | unset %b | unset %c | unset %avalue | unset %bvalue | unset %cvalue | unset %abcquestion | unset %totalabc | unset %notagain
  280. n235=}
  281. n236=e { %num = 1 | unset %msg  | %msg =  | %color = p
  282. n237=  :start
  283. n238=  if %color == p { %num2 = 4 | %num3 = 2 | %color = y | goto add }
  284. n239=  if %color == y  { %num2 = 2 | %num3 = 4 | %color = p | goto add }
  285. n240=  :add
  286. n241=  if $mid(%num,1, *1) != $null {
  287. n242=    %msg = %msg $+   $+ %num3 $+ , $+  %num2 $+  $mid(%num, 1,*1) $+   
  288. n243=    inc %num 
  289. n244=  goto start  }
  290. n245=  say %msg
  291. n246=}
  292. n247=cc { %num = 1 | unset %msg  | %msg =  | %color = p
  293. n248=  :start
  294. n249=  if %color == p { %num2 = 1 | %num3 = 9 | %color = y | goto add }
  295. n250=  if %color == y  { %num2 = 4 | %num3 = 1 | %color = p | goto add }
  296. n251=  :add
  297. n252=  if $mid(%num,1, *1) != $null {
  298. n253=    %msg = %msg $+   $+ %num2 $+ , $+  %num3 $+  $mid(%num, 1,*1) $+   
  299. n254=    inc %num 
  300. n255=  goto start  }
  301. n256=  say %msg
  302. n257=}
  303. n258=VAL {
  304. n259=  %c = *1
  305. n260=  set %c $replace(%c,a,4a)
  306. n261=  set %c $replace(%c,b,13B)
  307. n262=  set %c $replace(%c,c,5C) 
  308. n263=  set %c $replace(%c,d,4D) 
  309. n264=  set %c $replace(%c,e,4e) 
  310. n265=  set %c $replace(%c,f,13F) 
  311. n266=  set %c $replace(%c,g,4G) 
  312. n267=  set %c $replace(%c,h,5H) 
  313. n268=  set %c $replace(%c,i,4i) 
  314. n269=  set %c $replace(%c,j,5J) 
  315. n270=  set %c $replace(%c,k,4K) 
  316. n271=  set %c $replace(%c,l,4L) 
  317. n272=  set %c $replace(%c,m,4M) 
  318. n273=  set %c $replace(%c,n,13N)
  319. n274=  set %c $replace(%c,o,4o) 
  320. n275=  set %c $replace(%c,p,13P) 
  321. n276=  set %c $replace(%c,q,13Q) 
  322. n277=  set %c $replace(%c,r,13R) 
  323. n278=  set %c $replace(%c,s,5S) 
  324. n279=  set %c $replace(%c,t,4T) 
  325. n280=  set %c $replace(%c,u,4u) 
  326. n281=  set %c $replace(%c,v,4V) 
  327. n282=  set %c $replace(%c,w,13W) 
  328. n283=  set %c $replace(%c,x,5X) 
  329. n284=  set %c $replace(%c,y,5Y) 
  330. n285=  set %c $replace(%c,z,4z) 
  331. n286=  set %c $replace(%c,?,13┐13?) 
  332. n287=  say %c
  333. n288=  unset %c
  334. n289=}
  335. n290=end_hangman msg %hangmanchan 13,1h┴±gám├± The game is now over!  $me has ended it - phrase was  $+ %realword $+  | msg %hangmanchan It took %wrongnum wrong tries and %rightnum right ones. | disable #game | halt
  336. n291=hangman {
  337. n292=  if ($1 !isnum) { echo ***9,1 Usage: /hangman <num wrong guesses> <phrase> | halt } | if ($1 !isnum) { echo *** Number of guesses must be a number... | halt } | %hmwrong = $1
  338. n293=  if ($1 == $null) { echo 4 ***9,1 Please specify a phrase, usage is '/hangman <phrase>' | halt }
  339. n294=  enable #game | 9,1 set %rightnum 0 | set %correctlets  | set %realword *2 | set %dashword "" | set %wrong  | set %lettersright "" | set %wrongnum 0 | %i = 0 | %hangmanchan = # | :next | inc %i
  340. n295=  if (%i > $len(*2)) { goto done }
  341. n296=  %thisasc = $asc($mid(%i,1,*2))
  342. n297=  if (%thisasc == 32) { set %dashword %dashword $+ á | goto next }
  343. n298=  else { set %dashword %dashword $+ - | goto next }
  344. n299=  :done | say 9,1h┴±gám├± New Game Started h┴±gám├± | say Try To Guess: %dashword | say Everybody together gets %hmwrong guess(es).  Type !guess <letter> to guess, !solve <phrase> to solve it. | halt
  345. n300=}
  346. n301=HIS {
  347. n302=  %c = *1
  348. n303=  set %c $replace(%c,a,6a)
  349. n304=  set %c $replace(%c,b,13B)
  350. n305=  set %c $replace(%c,c,6C) 
  351. n306=  set %c $replace(%c,d,13D) 
  352. n307=  set %c $replace(%c,e,13e) 
  353. n308=  set %c $replace(%c,f,13F) 
  354. n309=  set %c $replace(%c,g,6G) 
  355. n310=  set %c $replace(%c,h,6H) 
  356. n311=  set %c $replace(%c,i,6i) 
  357. n312=  set %c $replace(%c,j,13J) 
  358. n313=  set %c $replace(%c,k,6K) 
  359. n314=  set %c $replace(%c,l,13L) 
  360. n315=  set %c $replace(%c,m,6M) 
  361. n316=  set %c $replace(%c,n,13N)
  362. n317=  set %c $replace(%c,o,6o) 
  363. n318=  set %c $replace(%c,p,13P) 
  364. n319=  set %c $replace(%c,q,13Q) 
  365. n320=  set %c $replace(%c,r,13R) 
  366. n321=  set %c $replace(%c,s,6S) 
  367. n322=  set %c $replace(%c,t,6T) 
  368. n323=  set %c $replace(%c,u,6u) 
  369. n324=  set %c $replace(%c,v,13V) 
  370. n325=  set %c $replace(%c,w,13W) 
  371. n326=  set %c $replace(%c,x,6X) 
  372. n327=  set %c $replace(%c,y,6Y) 
  373. n328=  set %c $replace(%c,z,6z) 
  374. n329=  set %c $replace(%c,?,13┐13?) 
  375. n330=  set %c $replace(%c,z,6z) 
  376. n331=  set %c $replace(%c,.,6╖) 
  377. n332=  say %c
  378. n333=  unset %c
  379. n334=}
  380. n335=╖
  381. n336=/leet /say 9,1 $+ $replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace(*1,w,W),e,Ω),o,÷),a,σ),b,▀),c,⌐),d,╨),f,f),g,G),h,H),i,ε),j,J),k,K),l,L),m,M),n,±),o,≡),p,■),q,Q),r,«),s,º),t,T),u,√),v,V),x,X),z,Z),!,í),?,┐),0,░),y,Ñ),1,╣),2,▓),3,│) $+  
  382. n337=}
  383. n338=/rtime {
  384. n339=set %realtime $time
  385. n340=set %hour $token(1,58,%realtime)
  386. n341=set %type AM  
  387. n342=if (%hour = 0) /set %hour 12 
  388. n343=if (%hour > 12) { /set %hour %hour - 12 | /set %type PM }
  389. n344=if (%hour = 12) /set %type PM
  390. n345=set %min $token(2,58,%realtime)
  391. n346=set %realtime %hour $+ : $+ %min %type
  392. n347=if (%online = on) /set %online %realtime 
  393. n348=unset %hour | /unset %min | /unset %type | /return %realtime
  394. n349=}
  395. n350=altcaps {
  396. n351=%text = "" | %rand = $rand(1,2) | %i = 0 | :next | inc %i
  397. n352=if (%i > $len(*1)) { say %text | halt } | if ($asc($mid(%i,1,*1)) == 32) { %text = %text $+ á | goto next }
  398. n353=if (%rand == 1) { 
  399. n354=  if (%i == 1) { %text = $upper($mid(%i,1,*1)) | set %thing 1 | goto next } | else { 
  400. n355=  if (%thing == 1) { %text = %text $+ $lower($mid(%i,1,*1)) | set %thing 2 | goto next } | if (%thing == 2) { %text = %text $+ $upper($mid(%i,1,*1)) | set %thing 1 | goto next } } 
  401. n356=}
  402. n357=elseif (%rand == 2) { 
  403. n358=  if (%i == 1) { %text = $lower($mid(%i,1,*1)) | set %thing 1 | goto next } | else { 
  404. n359=  if (%thing == 1) { %text = %text $+ $upper($mid(%i,1,*1)) | set %thing 2 | goto next } | if (%thing == 2) { %text = %text $+ $lower($mid(%i,1,*1)) | set %thing 1 | goto next } } 
  405. n360=}
  406. n361=}
  407. n362=pl {
  408. n363=%p = 0
  409. n364=:pl
  410. n365=inc %p
  411. n366=if (%p > $chat(0)) { unset %p | halt }
  412. n367=msg = $+ $chat(%p) < $+ $me $+ > *1
  413. n368=goto pl
  414. n369=}
  415. n370=plme {
  416. n371=%p = 0
  417. n372=:pl
  418. n373=inc %p
  419. n374=if (%p > $chat(0)) { unset %p | halt }
  420. n375=msg = $+ $chat(%p) * $me *1
  421. n376=goto pl
  422. n377=}
  423. n378=plwho {
  424. n379=echo 6 $active nick!user@host
  425. n380=echo 6 $active ==============
  426. n381=%w = 0
  427. n382=:w
  428. n383=inc %w
  429. n384=if (%w > $chat(0)) { unset %w | halt }
  430. n385=echo 6 $active $readini $mircdirwho.ini who $chat(%w)
  431. n386=goto w
  432. n387=}
  433. n388=/low {
  434. n389=set %final *1  
  435. n390=%final = $upper(%final)
  436. n391=%final = $replace(%final,A,4a)
  437. n392=%final = $replace(%final,E,4e)
  438. n393=%final = $replace(%final,I,4i)
  439. n394=%final = $replace(%final,O,4o)
  440. n395=%final = $replace(%final,U,4u)
  441. n396=say %final
  442. n397=}
  443. n398=/atime /say  14,14-15,15-13,13-13,1 $rtime 9,1-13,1 OhiO 9,1-13,1 $day 9,1-13,1 $adate 13,13-15,15-14,14-
  444. n399=}
  445. n400=/time /say  14,14--15,15--13,13--13,1 $rtime 9,9-13,1 OhiO 9,9-13,1 $day 9,9-13,1 $adate 13,13--15,15--14,14--
  446. n401=}
  447. n402=Brian /titlebar * $rtime ░ño\ShAggY/oñ░ StAts are  $nopnick(0,#) non-ops  there are $opnick(0,#) ops in $chan
  448. n403=}
  449. n404=LALA {timer4 0 1 /Brian
  450. n405=}
  451. n406=/autoaway {
  452. n407=if $idle > %autoawaydelay {
  453. n408=if $away == $true {
  454. n409=if %autoawaystart == $null set %autoawaystart $rtime | else { set %autoawaytime $rtime - %autoawaystart | echo 2 -s $me has been away %autoawaytime secs | unset %autoawaytime | goto end | nick ShAggY }
  455. n410=}
  456. n411=if $away == $false {
  457. n412=if %autoawaynick != 0 { set %autoawaytempnick $me | n %autoawaynick |  ame has been Away For 5 mins, Now Enabling Auto Away %logo %logo %logo %logo %logo  | nick ShaG-AwaY }
  458. n413=away %autoawaymsg | .enable #away | set %autoawaystart $rtime | echo 2 -s $me has been marked away.
  459. n414=}
  460. n415=}
  461. n416=else {
  462. n417=if $away == $false { echo 2 -s $me has been idle $idle secs. | goto end }
  463. n418=if $away == $true {
  464. n419=if %autoawaytempnick != $null { n %autoawaytempnick | unset %autoawaytempnick | nick ShAggY | set %autoaway on}
  465. n420=away | .disable #away | unset %autoawaystart | echo 2 -s $me has been marked here. | nick ShAggY | set %autoaway on
  466. n421=}
  467. n422=}
  468. n423=:end
  469. n424=}
  470. n425=Shag {
  471. n426=say 14,14--15,15--13,13--1,1 $rtime 9,9-1,1 OhiO 9,9-1,1 $day 9,9-1,1 $adate 13,13--15,15--14,14--
  472. n427=say 14,14--15,15--13,13--13,1 $rtime 9,9-13,1 OhiO 9,9-13,1 $day 9,9-13,1 $adate 13,13--15,15--14,14--
  473. n428=say 14,14--15,15--13,13--1,1 $rtime 9,9-1,1 OhiO 9,9-1,1 $day 9,9-1,1 $adate 13,13--15,15--14,14--
  474. n429=}
  475. n430=colorchart {
  476. n431=say The colors are: 0,1White[0] 1Black[1] 2Dk.Blue[2] 3Green[3] 4Red[4] 5Brown[5] 6Purple[6] 7Orange[7] 8Yellow[8] 9Lt.Green[9] 10Teal[10] 11Cyan[11] 12Royal[12] 13Lt.Purple[13] 14Dk.Grey[14] 15Lt.Grey[15]
  477. n432=}
  478. n433=flag {
  479. n434=say 0,12* * * * * * * * * *4,4oooooooooooooooooooooooooooo
  480. n435=say 0,12* * * * * * * * * *
  481. n436=say 0,12* * * * * * * * * *4,4oooooooooooooooooooooooooooo
  482. n437=say 0,12* * * * * * * * * *
  483. n438=say 4,4ooooooooooooooooooooooooooooooooooooooooooooooo  
  484. n439=say    
  485. n440=say 4,4ooooooooooooooooooooooooooooooooooooooooooooooo  
  486. n441=say    
  487. n442=say 4,4ooooooooooooooooooooooooooooooooooooooooooooooo  
  488. n443=}
  489. n444=F12 /c :)
  490. n445=/colors  {
  491. n446=echo  4 ( ( (12 = = =9 - - -2 Color Chart9 - - -12 = = =4 ) ) )
  492. n447=echo                                        1black = 1
  493. n448=echo                                     2dark blue = 2
  494. n449=echo                                    3dark green = 3
  495. n450=echo                                         4red = 4
  496. n451=echo                                       5dark red = 5
  497. n452=echo                                    6dark purple = 6
  498. n453=echo                                        7orange = 7
  499. n454=echo                                         8yellow = 8
  500. n455=echo                                          9green = 9
  501. n456=echo                                    10blue-green = 10
  502. n457=echo                                      11turquoise = 11
  503. n458=echo                                          12blue = 12
  504. n459=echo                                        13purple = 13
  505. n460=echo                                           14gray = 14
  506. n461=echo                                         15light gray = 15
  507. n462=echo  4 ( ( (12 = = =9 - - -2 Color Chart9 - - -12 = = =4 ) ) )
  508. n463=}
  509. n464=/b1 /say 2,2  *1 $+ ! | /say 0,2  *1  1,1!  | /say 2,2  *1  1,1! | /say 0,0 1,1 *1 $+ !
  510. n465=/b2 /say 3,3  *1 $+ ! | /say 8,3  *1  1,1!  | /say 3,3  *1  1,1! | /say 0,0 1,1 *1 $+ !
  511. n466=/b3 /say 4,4  *1 $+ ! | /say 0,4  *1  1,1!  | /say 4,4  *1  1,1! | /say 0,0 1,1 *1 $+ !
  512. n467=/b4 /say 8,8  *1 $+ ! | /say 3,8  *1  1,1!  | /say 8,8  *1  1,1! | /say 0,0 1,1 *1 $+ !
  513. n468=/b5 /say 9,9  *1 $+ ! | /say 12,9  *1  1,1!  | /say 9,9  *1  1,1! | /say 0,0 1,1 *1 $+ !
  514. n469=/b6 /say 11,11  *1 $+ ! | /say 2,11  *1  1,1!  | /say 11,11  *1  1,1! | /say 0,0 1,1 *1 $+ !
  515. n470=/b7 /say 12,12  *1 $+ ! | /say 0,12  *1  1,1!  | /say 12,12  *1  1,1! | /say 0,0 1,1 *1 $+ !
  516. n471=/b8 /say 13,13  *1 $+ ! | /say 1,13  *1  1,1!  | /say 13,13  *1  1,1! | /say 0,0 1,1 *1 $+ !
  517. n472=}
  518. n473=/f11 { 
  519. n474=.ignore -rinpt *!*@*
  520. n475=.timer851 1 50 .ignore -rinpt *!*@*
  521. n476=.disable #floodultracommand
  522. n477=.disable #floodultraevent
  523. n478=echo 2 -a ü▀ΩtπFú≥≤╨ü Ultra Protection is now 4OFF.
  524. n479=if ((%onick != $me ) && (%onick != $null)) { nick %onick | echo 2 -a ü▀ΩtπFú≥≤╨ü Restore Nickname to ü $+ %onick $+ ü }
  525. n480=unset %onick
  526. n481=}
  527. n482=/f12 {
  528. n483=if %onick == $null {
  529. n484=.ignore -inpt *!*@* 
  530. n485=.timer851 1 50 .ignore -inpt *!*@*
  531. n486=.enable #floodultracommand
  532. n487=.enable #floodultraevent
  533. n488=set %onick $me 
  534. n489=echo 2 -a ü▀ΩtπFú≥≤╨ü Ultra Protection is now 3ON.
  535. n490=}
  536. n491=else {
  537. n492=nick $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z) $+ $rand(a,z)
  538. n493=.ignore -inpt *!*@*
  539. n494=echo 2 -a ü▀ΩtπFú≥≤╨ü Random Nickname.
  540. n495=}
  541. n496=}
  542. n497=/ircop set %total 0 | .enable #ircop | who 0 o | echo 7 -a scanning for ircops on the network.
  543. n498=}
  544. n499=clone {
  545. n500=%clonescount = 0 | %nickcounter = 1 | %clonesfound | %skipnicks = ... | echo 12 -a scanning for clones on  $+ # $+ 
  546. n501=:loop1start
  547. n502=:nick
  548. n503=%workingnick = $nick(%nickcounter,#) | if (%workingnick == $null) { goto loop1end } | if (%workingnick isin %clonesfound) { inc %nickcounter | goto nick } | %workingaddress = $address(%workingnick,3)
  549. n504=if (%workingaddress == $null) { %skipnicks = %workingnick $+ , %skipnicks | inc %nickcounter | goto nick } | inc %nickcounter | %nicksubcounter = %nickcounter | %clonessubcount = 0 | %clonessubfound = ...
  550. n505=:loop2start
  551. n506=%currentnick = $nick(%nicksubcounter,$active) | if (%currentnick == $null) { goto loop2end } | if (%workingnick != %currentnick) && (%workingaddress == $address(%currentnick,3)) { inc %clonessubcount | inc %clonescount | %clonessubfound = %currentnick $+ , %clonessubfound | %clonesfound = %currentnick $+ , %clonesfound } | inc %nicksubcounter | goto loop2start
  552. n507=:loop2end
  553. n508=if (%clonessubcount > 0) { echo 12 -a  [clone %clonescount $+ ] $remove(%clonessubfound,,...) and %workingnick ( $+ %workingaddress $+ ) } | goto loop1start
  554. n509=:loop1end
  555. n510=echo 12 -a grand total  $+ %clonescount $+  | if ($len(%skipnicks) > 3) { echo 12 -a address not found of $remove(%skipnicks,,...) } | echo  12 -a end of list
  556. n511=unset %skipnicks | unset %cuurentnick | unset %clonessubfound | unset %clonessubcount | unset %clonesfound | unset %clone.num | unset %workingnick | unset %workingaddress | unset %currentnick | unset %nicksubcounter
  557. n512=}
  558. n513=/ShAg1 {
  559. n514=set %rk *1
  560. n515=%rk = $replace(%rk,a,12a)
  561. n516=%rk = $replace(%rk,b,12b)
  562. n517=%rk = $replace(%rk,c,12c)
  563. n518=%rk = $replace(%rk,d,12d)
  564. n519=%rk = $replace(%rk,e,12e)
  565. n520=%rk = $replace(%rk,f,12f)
  566. n521=%rk = $replace(%rk,g,12g)
  567. n522=%rk = $replace(%rk,h,12h)
  568. n523=%rk = $replace(%rk,i,12i)
  569. n524=%rk = $replace(%rk,j,12j)
  570. n525=%rk = $replace(%rk,k,12k)
  571. n526=%rk = $replace(%rk,l,12l)
  572. n527=%rk = $replace(%rk,m,12m)
  573. n528=%rk = $replace(%rk,n,12n)
  574. n529=%rk = $replace(%rk,o,12o)
  575. n530=%rk = $replace(%rk,p,12p)
  576. n531=%rk = $replace(%rk,q,12q)
  577. n532=%rk = $replace(%rk,r,12r)
  578. n533=%rk = $replace(%rk,s,12s)
  579. n534=%rk = $replace(%rk,t,12t)
  580. n535=%rk = $replace(%rk,u,12u)
  581. n536=%rk = $replace(%rk,v,12v)
  582. n537=%rk = $replace(%rk,w,12w)
  583. n538=%rk = $replace(%rk,x,12x)
  584. n539=%rk = $replace(%rk,y,12y)
  585. n540=%rk = $replace(%rk,z,12z)
  586. n541=say %rk
  587. n542=unset %rk
  588. n543=}
  589. n544=/ShAg2 { 
  590. n545=unset %ctext*
  591. n546=set %loop 0
  592. n547=set %ctext *1
  593. n548=:1
  594. n549=inc %loop 1
  595. n550=if ($mid(%loop,1,%ctext) == $chr(32)) { %ctext2 = %ctext2 $+ $chr(160) | goto 1 }
  596. n551=%ctext1 =  $+ $rand(1,13) $+ $mid(%loop,1,%ctext)
  597. n552=if (%ctext2 == $null) { %ctext2 = %ctext1 }
  598. n553=else { %ctext2 = %ctext2 $+ %ctext1 }
  599. n554=;echo -s .. %ctext4
  600. n555=if (%loop => $len(%ctext)) { say %ctext2 | unset %ctext* | unset %loop | halt }
  601. n556=goto 1
  602. n557=}
  603. n558=ShAg4 { %num = 1 | unset %msg  | %msg =  | %color = p
  604. n559=:start
  605. n560=if %color == p { %num2 = 9 | %num3 = 13 | %color = y | goto add }
  606. n561=if %color == y  { %num2 = 13 | %num3 = 9 | %color = p | goto add }
  607. n562=:add
  608. n563=if $mid(%num,1, *1) != $null {
  609. n564=%msg = %msg $+   $+ %num2 $+ , $+  %num3 $+  $mid(%num, 1,*1) $+   
  610. n565=inc %num 
  611. n566=goto start  }
  612. n567=say %msg
  613. n568=}
  614. n569=/ShAg3 { %num = 1 | unset %msg  | %msg =  | %color = p
  615. n570=:start
  616. n571=if %color == p { %num2 = 9 | %num3 = 11 | %color = y | goto add }
  617. n572=if %color == y  { %num2 = 8 | %num3 = 13 | %color = w | goto add }
  618. n573=if %color == w  { %num2 = 7 | %num3 = 12 | %color = p | goto add }
  619. n574=:add
  620. n575=if $mid(%num,1, *1) != $null {
  621. n576=%msg = %msg $+   $+ %num2 $+ , $+  %num3 $+  $mid(%num, 1,*1) $+   
  622. n577=inc %num 
  623. n578=goto start  }
  624. n579=say %msg
  625. n580=}
  626.