Note: Commands are accessible from the console, via rcon and chat text (place \ or / [or whatever you set with cmdstart command, see Config Commands for more info] before each command) if you have the appropriate admin rights/level, and from the init.txt (both).
Command argument options:
List of player expression options:
|'number'||Matches player with given number (from pl command).|
|*||Matches all players.|
|*Alan*||Matches all players with Alan in name. (Case-sensitive)|
|me||Matches the player who is executing the command.|
|rt||Matches all players on red team.|
|bt||Matches all players on blue team.|
Matches all regular players (non-admins).
|admin||Matches all admins.|
Will pick a random player.
|randred||Will pick a random player from the red team.|
|randblue||Will pick a random player from the blue team.|
These will be referred as <player_expr> at the commands.
kill me: kills you
k New*: kicks every player who's name starts with "New" (for ex. it will kick players "New001" and "New777" and "Newbie" etc.)
k N?b: kicks every player who's name is like "N?b" (for ex. it will kick players "Nub" and "Nab" and "N@b" etc.)
k *WTF*: kicks every player who's name contains "WTF" (for ex. it will kick players "[WTF] John" and "(WTF)Robert" and "xD WTF Bot" etc.)
At the [amount] expression, you can use the following operators: [+, -, *, /, :]
+ -> increase the value with the amount
- -> decrease the value with the amount
* -> multiple the value with the amount
/ -> divide the value with the amount
nothing or : -> set the value to the amount
kills me +100: will add 100 kills to me
s * :-1 will set every1's speed to -1 (try this1, nice trolling :P)
deaths 4 -20: will decrease player 4's deaths by 20
ammo New001 *2: will double New001's ammo
The "original" method still works, if you don't set any operator, the value will be set to the given amount;
kills me 2000: will set my kills to 2000