getPlayerName: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:getPlayerName moved to getPlayerName) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=getPlayerName | |name=getPlayerName | ||
|version=1.3b48 | |||
|description=Returns the name of the player for the [[Client]] that it executes on. | |description=Returns the name of the player for the [[Client]] that it executes on. | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
getPlayerName() | |||
</source> | </source> | ||
Revision as of 13:25, 10 March 2009
getPlayerName() Function
• Introduced in version 1.3b48
Returns the name of the player for the Client that it executes on.
Usage
getPlayerName()
Example
To display the ids of all of the NPC tokens on the current map use.
/say My name is [r: getPlayerName()] nice to meet you!