removing - character that's occurring in messages - 28/06/05 02:59 AM
A friend of mine has a problem with her computer. Due to a game her son plays, when she types in mIRC she occasionally gets a - at the front of a word (eg: -word rather than word). I thought using would work, but when tested, it prevented the messages from going at all, and without the | halt, it was sending both the message with the - removed and the same message with the - included.
Any ideas?
Code:
on *:input:*:{ .msg $target $remove($1-,$chr(45)) | halt }
Any ideas?