getPlayerName: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function getPlayerName== {{ProposedChange}} Returns the name of the player for the client that it executes on. <source lang="mtmacro" line> [h: name = getPlayerName()] </source> T...) |
|||
Line 1: | Line 1: | ||
==Function getPlayerName== | ==Function getPlayerName== | ||
Returns the name of the player for the [[client]] that it executes on. | Returns the name of the player for the [[client]] that it executes on. | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> |
Revision as of 15:07, 6 December 2008
Function getPlayerName
Returns the name of the player for the client that it executes on.
[h: name = getPlayerName()]
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!