getPlayerName

From RPTools Wiki
Jump to navigation Jump to search

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!