mIRC Home    About    Download    Register    News    Help

Print Thread
color code stripping #21838 01/05/03 09:36 PM
Joined: Apr 2003
Posts: 17
S
sorex Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Apr 2003
Posts: 17
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?

Re: color code stripping #21839 01/05/03 09:49 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
/set %myvar $strip(%myvar, c)


-KingTomato
Re: color code stripping #21840 02/05/03 08:01 AM
Joined: Apr 2003
Posts: 17
S
sorex Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Apr 2003
Posts: 17
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