rendered paste bodyon 1:INPUT:*:{
if ($left($1,1) == $chr(126)) {
var %lasttext = $right($1-,-1))
var %textlen = $numtok(%lasttext,32) | echo -a Debug: Textlen: %textlen
var %textpos = 1
var %text = $null
var %space = $chr(32)
var %color1 = 04,00
var %color2 = 12,00
while (%textpos < %textlen + 1) {
echo -a Debug: %text
var %text = $+(%text, %color1, $left($gettok(%lasttext,%textpos,32),1), %color2, $right($gettok(%lasttext,%textpos,32), -1), $chr(160))
inc %textpos
}
msg $active $replace(%text,$chr(160),$chr(32)) | /haltdef
}
}