RPTools

Personal tools
From MapToolDoc

getPlayerName

getPlayerName() Function

Introduced in version 1.3b48

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

Usage

  1. getPlayerName()

Example

To display the ids of all of the NPC tokens on the current map use.

  1. /say My name is [r: getPlayerName()] nice to meet you!