Charmander

New Tracks with Rainbow

Nov 26th, 2011
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.94 KB | None | 0 0
  1. on *:text:*:#: {
  2.   if ($findtok(lt.suck a dick!!.st.kt,$1-,46)) goto $1-
  3.   else goto end
  4.   :suck a dick!!
  5.   :lt
  6.   msg # $rainbow(HAHAHA)
  7.   goto end
  8.   :st
  9.   msg # $rainbow(awwwwwwwwwwwwwwwwwwwwwwwwww.............................!)
  10.   goto end
  11.   :kt
  12.   msg # $rainbow(ooooooooooooooooooooohhhHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!)
  13.   :end
  14. }
  15. on *:input:*: {
  16.   if (%rainbow == on && /* !iswm $1) {
  17.     haltdef
  18.     msg # $rainbow($1-)
  19.   }
  20. }
  21. alias rainbow {
  22.   var %string $1-
  23.   var %count 0
  24.   var %color 1
  25.   while (%count <= $len($1-)) {
  26.     set -l %color2 $gettok(04.07.08.09.03.10.12.02.06,%color,46)
  27.     set -l %output %output $+ $iif($left(%string,1) != $chr(32), $+ %color2 $+ $left(%string,1),$chr(32) $+ $chr(32))
  28.     var %string $right(%string,-1)
  29.     var %color $iif(%color == 9,1,$calc(%color + 1))
  30.     inc %count
  31.   }
  32.   return %output
  33. }
  34. menu * {
  35.   Rainbow $iif(%rainbow == on,Off,On):set %rainbow $iif(%rainbow == on,off,on)
  36. }
  37.  
  38.  
Advertisement
Add Comment
Please, Sign In to add comment