getPlayerName: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Applied Template:MacroFunction)
(No difference)

Revision as of 03:23, 8 March 2009

getPlayerName() Function

Returns the name of the player for the Client that it executes on.

Usage

[h: name = 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!