I have the chat integrate whit a MyBB forum. When a user enter in chat, the default nick is the same nick on the forum.
When the user change nick I would add a symbols around the nick, like this:
Popeye (default nick)
/nick Batman (the user digit the command)
[Batman] (new nick after the change)
At this time, if the user change the nick and go back to Popeye, the default nick, i wish the brackets dissappear. Like this:
[Batman] (current nick)
/nick Popeye
Popeye (new nick)
How i do this?