What i am trying to do is make an alias that will take a string and output the string with randomized color codes in it.
I pretty much have is complete except for a small problem i have with the special character "@".
here's the contents of a test alias i made to show what am trying to do
#var test1 {"!"|"@"|"#"}
#var string ""
#LOOP 1,%len( %0) {
#var string %concat( @string, "`", %item( @test1, %random( @test1, %numitems( @test1))), %copy( %0, %repeatnum, 1))
}
#echo -@string-
in this example everything works fine expect when the @ is choosen, which then causes it to use the @ and the next character in the string to lookup a varible which it don't want. I just want it to print the @ and then the next character in the string.
any help would be appreciated
~kermit