xNorbi

Untitled

May 16th, 2015
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. on chat:
  2. loop length of uncolored message times:
  3. set {_msg::%loop-number%} to subtext of uncolored message from character loop-number to character loop-number
  4. set message to ""
  5. loop {_msg::*}:
  6. if {_msg::%loop-index%} is not "0" or "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "a" or "A" or "b" or "B" or "c" or "C" or "d" or "D" or "e" or "E" or "f" or "F" or "g" or "G" or "h" or "H" or "i" or "I" or "j" or "J" or "k" or "K" or "l" or "L" or "m" or "M" or "n" or "N" or "o" or "O" or "p" or "P" or "q" or "Q" or "r" or "R" or "s" or "S" or "t" or "T" or "u" or "U" or "v" or "V" or "w" or "W" or "x" or "X" or "y" or "Y" or "z" or "Z" or " ":
  7. delete {_msg::%loop-index%}
  8. if {_msg::%loop-index%} is set:
  9. set message to "%message%%{_msg::%loop-index%}%"
Advertisement
Add Comment
Please, Sign In to add comment