Hey, I'm trying to make sort of a talker where every character is reversed color of the previous character and I have this script now:
alias cow {
var %input = $1-
var %output
while ($len(%input) > 0) {
%output = $+(%output,,$left(%input,1))
%input = $right(%input,-1)
}
return %output
}
Problem is that when there is a space in the %input, it is ignored in the %output. How can i solve this? A space character gets lost in the $+()