I have a tcl script that responds to NEW in from a bot but I need it to work regardless of what color (and bold) the bot is announcing that in.
bind pub -|- NEW in ms:newdir
would I do bind pub -|- $strip New in:newdir
What do I need to do to get it to work? I think the $strip but have no idea what the whole thing looks like or where it should go.
Did you intentionally put a space between the \002 and the \003 control codes?
Keep in mind that only the first word will become the command word with pub bindings, so there can be no spaces whatsoever within the command argument. It must also exactly match (apart from upper-/lower-case) the first word letter by letter (including control codes).