mIRC Homepage
I am trying to make some scripts a bit more usable, by striping colours so they can be used with a little bit less fuss.
However, I'm not at all enjoying (I know it's not meant to be enjoyable) reading through a script and working out where the $strip($1)'s need to go.

Is it possible, to have a bit at the beginning or something similar that will strip all the text before putting it through the rest of the script?

Thank you for any replies. smile
It would depend on the script, I suppose. If its fairly simple, using $strip($1-) ought to do what you want it to do.
If you are talking about a onTEXT (or similar) event, you can add this as the first line inside the event:

tokenize 32 $strip($1-)

-genius_at_work
If you have an ON START event in the script, you could just add
Code:
.strip +c
to the event.
See /help /strip
© mIRC Discussion Forums