Advertisement
illpastethat

Rainbow And Bigrainbow aliases

Apr 25th, 2011
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.66 KB | None | 0 0
  1. alias rain {
  2.   var %temp = 1, %max = $len($1-), %char, %string, %color = 4,01 7,01 8,01 9,01 11,01 10,01 13,01 10,01 11,01 9,01 8,01 7,01, %cs = $rand(1,$numtok(%color,32))
  3.   while (%temp <= %max) {
  4.     %char = $mid($1-,%temp,1) | if (%char isnum) %string = %string $+  $+ $gettok(%color,%cs,32) $+  $+ %char
  5.     elseif (%char = $chr(32)) { inc %temp | %char = $mid($1-,%temp,1) | %string = %string  $+ $gettok(%color,%cs,32) $+ %char }
  6.     else { %string = %string $+  $+ $gettok(%color,%cs,32) $+ %char }
  7.     inc %temp | inc %cs | if (%cs > $numtok(%color,32)) %cs = 1
  8.   }
  9.   if ($isid) return %string | else msg $Active %string
  10. }
  11. alias bigrain { /big $rain($1-) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement