| $place(value,pool,variable)
This function will return the place of value among pool's values of
variable. Value is a number, pool is a team name or 'all',
and variable is the name of the variable to compare the value against. See the
examples.
Example:
| $place() example |
# Create a player command to return their place among kills in the game.
on pcmd_place cmd { /say_resp * You are ranked $place($pk.e,all,k.e)$#a overall in kills currently.; /say_resp * You are ranked $place($pk.e,$pteam,k.e)$#a in kills on your team.; };
|
|
|