Are you using mIRC 7.x version?

The square character is not important, it means that the current font you are using to render a character does not have that character, something called font linking is a process that is applied in this case where it will try to find the character in another font on your system, the problem is that fonts will yield they have the character when they don't, well, they have the square for that character.

I understand the square is making the regular expression a bit harder to follow but the character is there, the regular expression will work.
You can workaround this easily, you can use a comment inside the regular expression, you can put a comment in your code with the corresponding glyph like &#10084 is a heart etc. eventually you would need to change your font to hope to be able to see more characters. You are already using a text file for your script file, I'm not sure why using another file would help here.




#mircscripting @ irc.swiftirc.net == the best mIRC help channel