Originally Posted by mexico
he tenido este problema con users que ponen este tipo de fullnames: 10ᴍᴇ14xɪ13ᴋᴏ y no los patea espero no molestarte con ese detalle

If you need to remove all formatting codes from the text to search for a bad word, then need to use the identifier "$strip()" - https://en.wikichip.org/wiki/mirc/identifiers/$strip

Find in the code the line "var %rname $9-" and change it to this "var %rname $strip($9-)". Thus you will get: "ᴍᴇxɪᴋᴏ".

But you should be aware that with the "UTF-8" encoding, people can use any possible characters (an infinite number of combinations) that are allowed by IRCd for creating a real username.
Therefore, it will be extremely difficult for you to find bad words in a real username if they are written using various non-standard characters from unicode.

Nevertheless, you can try to write down all the words you need (in any format and any characters) inside a file "badwords.txt".


🌐 https://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples