mIRC Homepage
Posted By: sorex color code stripping - 01/05/03 09:36 PM
hello,

I know of the strip +c command to strip color codes but is there a way to strip the codes out of a variable?

i tried to switch it like this but that didn't work as the stripping happends before the text appears on the screen.

/strip +c
/set %temp $1
/stip -c

is there a way to solve this?
Posted By: KingTomato Re: color code stripping - 01/05/03 09:49 PM
/set %myvar $strip(%myvar, c)
Posted By: sorex Re: color code stripping - 02/05/03 08:01 AM
thanks mate!

just thought about the $ commands after I submitted the post
(when I was lying in my bed that is smile )

should have looked in the help instead, lazy me
© mIRC Discussion Forums