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
Code:
on *:input:*:{ .msg $target $remove($1-,$chr(45)) | halt }
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.