Testing the ? character:
var %regex = /(\?){10,}/Sig
if ($regex($1-,%regex)) { do stuff }
mIRC was interpreting the comma in the regex as a delimter for the $regex identifier, so store it in a variable first.
Many characters have special meanings in regex, so you should escape it with a \ if you're unsure. Some characters that should be escaped: . $ ^ ? [ ] ( ) + *
And unless you come up with rules that lend themselves better to a simpler regex, you're going to either have just as many $regex checks as you would have isin checks or a very long $regex.
"." matches any character, so you can use this to test if any character is repeated 10 times:
/(.){10,}/SigOther than this I can't think of anything better to test if multiple characters are repeated 10 times individually:
/(\?){10,}|(\+){10,}|(\*){10,}|(\^){10,}/Sig