mIRC Home    About    Download    Register    News    Help

Print Thread
#100153 10/10/04 02:12 PM
Joined: Jun 2003
Posts: 77
O
ozyvent Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Jun 2003
Posts: 77
I have a script and I want to strip the colour codes when adding a line to a file. I dont want to strip colours completely, so I'm wondering if theres anything I can use in my script to strip the colours?


.
#100154 10/10/04 02:43 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
How about doing $strip(text,c)? The ,c tells $strip to ONLY remove colors. Does that help?


Those who fail history are doomed to repeat it

Link Copied to Clipboard