Random Colored Text

By Vampire@lucidchat on Jul 20, 2012

Put in remotes and type /color message

alias color {
  var %color = $rand(1,16)
  if (%color == 1) say 0 $1-
  if (%color == 2) say 1 $1-
  if (%color == 3) say 2 $1-
  if (%color == 4) say 3 $1-
  if (%color == 5) say 4 $1-
  if (%color == 6) say 5 $1-
  if (%color == 7) say 6 $1-
  if (%color == 8) say 7 $1-
  if (%color == 9) say 8 $1-
  if (%color == 10) say 9 $1-
  if (%color == 11) say 10 $1-
  if (%color == 12) say 11 $1-
  if (%color == 13) say 12 $1-
  if (%color == 14) say 13 $1-
  if (%color == 15) say 14 $1-
  if (%color == 16) say 15 $1-
}

Comments

Sign in to comment.
SReject   -  Aug 25, 2012

@Mr.MaSTeR Should always use the 2 digit form, just in case :)

 Respond  
Mr.MaSTeR   -  Aug 24, 2012

alias color { say $+ $r(0,15) $1- }
or
alias color { say ctrl+k $+ $r(0,15) $1- }

 Respond  
SReject   -  Jul 21, 2012
alias color { say $chr(3) $+ $base($r(0,15),10,10,2) $1- }
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.