@
JustAnoobROTMG - There is a reason you've never seen this on "real" players. After you've logged into the game for the first time and selected your name, it will obviously change from the default (like Uoro) to whatever you've picked (assuming it is unique). If you happen to pick, lets say, "justanoob" as your IGN, all is fine and dandy and you'll continue on your way. This is about as far as
most of the ad bots get (the first ever login+name select).
Now, if you log off to grab a snack or what not and hop back on you'll notice your IGN is now "Justanoob". The game ALWAYS capitalizes at least the first letter in every player's name (if they do not do so themselves). Even something as simple as clicking "Back to Home" on the options menu will "fix" your name.
Not sure why it does it, but what you're going for would actually be a pretty effective solution, since no player can keep his all lowercase name beyond his/her first initial log in to the game.
You can test this out yourself, obviously. Just go register a new character with all lower case name, close/reopen the game and it should be renamed automatically to have the first letter capitalized.
On a note related to your actual purposes here, it is unlikely you will ever see one of the RWT shops trying to bypass an MPGH created filter. This community is not really their target audience - so if you're just trying to do this for your own good / our enjoyment, you most likely wont see the spam bots break your filter nearly as frequently as they do Kabam's. Especially since, being client-sided, they'll never be able to detect it without coming on here, downloading it, and testing it themselves.
nilly can correct me if I'm wrong here, and I'm sure there are more elegant ways of doing so, but your code could simply slice the first letter from the speaking player's name, pushstring "A", ifne check pushstring "B" on down the line. Maybe there is a far, far better way of doing the compare, but I just woke up and that is the first thing that came to mind. 26 checks may lag chat a little, never really messed with that area of the game.
From a /server command fix I did for guildies [this is nilly's originally, just copying/pasting from the closest example I had of it] - but this is what you'd need to chop just the first letter off. (obviously change pushbyte 7 to 1).
Code:
getlocal1
pushbyte 0
pushbyte 7
callproperty QName(Namespace("http://adobe.com/AS3/2006/builtin"), "slice"), 2
pushstring "/server"
ifne NOT_EVENT
Edit: Originally just popped back on to say it was actually a fairly effective method of filtering them client-side if you can get it to work. Rambled from there, sorry.