player.account > player.communityname
- new player attribute player.communityname which displays the name the player is using for the forums etc.
- by default players have now an account name which is basicly just a number (Graal12345) and can later register a communityname which is then used for the fourms, wiki etc.
- on the playerlist and PMs it will display the community name instead of the account name, scripts are supposed to do the same
I haven't done much testing but I'm assuming it's safe to just use community name where you would previously just use account.
Unless of course, those with old account names but never had any access to the forum and thus have never registered a community name, makes the community name return null?
If the same goes with new accounts who have not yet registered a community name (which of course does suck) but a simple fix would be to fall back to the account name or even the nickname of the player to assertain identity.
However, nicknames are not as secure as the previous two options.
I'll do some testing later today and post my findings in the scripting forum if you like Crow?