Clantags
From PsychoWiki
PsychoStats » PsychoStats Configuration » Clantags
PsychoStats version 3+ allows for 2 types of clan tags. "regex" clan tags are regular expressions that allow for complex matching. These are very powerful and virtually allows for almost anything to be matched at the beginning, end or middle of a player name. But these are more complex to setup and general regex knowledge is required by the user.
"Plain" clan tags are simple search strings that can match tags on the left or right of a player name. This allows for very easy configuration of new clan tags. Plain clan tags must match exactly character-by-character at the very beginning or end of a string. They can not match in the middle or a combination of locations in a string.
This documentation will not try and explain how to create a regular expression as it's a very complicated subject and is better explained by professionals, see the definition at wikipedia.
[edit] Plain Clan Tag Example
If you are having trouble with having a clan tag not being matched just add a plain clan tag to your configuration in the ACP. For example, lets say you have players that look like the below:
- /best/ Stormtrooper
- /best/ Yourname
- /best/ Isuk
Go to the Clantags section of the ACP and click the new button. From here you would fill the form out like the following:
- Clantag = /best/
- Set this to the full tag of the clan tag you want to match.
- Example = /best/ Anything
- This is an example of what the clan tag looks like on a player's name This can be anything you want.
- Override =
- Leave this blank for now. This allows you to consolidate multiple clantags into another clantag.
- Type = Plain
- This specifies how the clantag is used against matching players.
- Position = Left
- This specifies on which side the clantag is matched against. This is only valid for Plain clantags.
[edit] Regex Clan Tag Example
Not much difference here compared to the above except you need to understand how regular expressions work.