Rank Commands & Formatting - SirChopwood/Arma-3-Bot GitHub Wiki
Commands
Command | Description |
---|---|
>ranks |
Displays all the Ranks on the server along with their ID. |
>rank_add (Rank Name) |
Adds a new Rank with the specified name. |
>rank_role (Rank ID) |
Sets the role that the User will be added to when they receive the specified Rank. |
>rank_long (Rank ID) |
Sets the long name of the specified Rank. |
>rank_short (Rank ID) |
Sets the short name of the specified Rank. |
>rank_format (Rank ID) |
Sets the formatting of the specified Rank. (See Rank Formatting) |
>rank_set (@User) |
Sets the mentioned User to the rank number specified. |
>rank_remove (Rank ID) |
Removes the specified Rank. NOTE: Rank 0 cannot be removed as it is the default |
>setname (@User) |
Re-Sets the formatted name for the user. |
Formatting
Rank Formatting allows you to set how a user's name will be automatically formatted from their Rank and Profile.
To set the format of a rank, use >rank_format (ID)
Placeholder | Variable |
---|---|
$RL |
Rank Long |
$RS |
Rank Short |
$FN |
First Name |
$LN |
Last Name |
$FI |
First Initial |
$LI |
Last Initial |
$NN |
Nickname |
NOTE: Nickname has to be manually set by the user via >profile_nickname (nickname)
. All other stats should exist by default.
Example
Variable | Meaning |
---|---|
First Name | "Aether" |
Last Name | "Ramiris" |
Nickname | "Aether-425" |
Rank Long | "Adeptus Mechanicus Tech-Priest" |
Rank Short | "Enginseer" |
-
Format:
$RS $NN
-
Result: Enginseer Aether-425
-
Format:
$RS. $FI. $LN
-
Result: Enginseer. A. Ramiris