getPlayerName

From RPTools Wiki
Revision as of 23:14, 1 December 2008 by Craig (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function getPlayerName

 Note: This refers to a proposed change that has not been implemented in the main code base yet.

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!