From RPTools WikiJump to navigationJump to search
Note: This refers to a proposed change that has not been implemented in the main code base yet.
• Introduced in version 1.10.0
• Last checked for compatibility with version 1.10.0
Returns information about the current or specified player as a JSON object.
player.getInfo() - Info on current player. player.getInfo(PlayerName) - Info on the specified player. Can only be used in Trusted macros.
PlayerName- String containing the name of a player in the databse.
Outputs current player info. From GM client in this case.
Info: [r: player.getInfo()]
Outputs info for player George who is not connected.
Info: [r: player.getInfo("George")]
- 1.10.0 - First added.