This really just a simple example, this also can't recognize if the name is this: "[tag]playername" plus the most important thing is, you want them to recognize a '[' ']' tag, not '[TAG]' (unless your clanname is called 'tag').
try using a regular expression instead of equal
__________________
before you criticize someone, you should walk a mile in their shoes. that way, when you criticize them, you're a mile away and you have their shoes.