getplayerinfo: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
; getplayerinfo (<player ID>)
; getplayerinfo (<object ID>)
; getcharname (<player ID>)
; getcharname (<object ID>)


: <player ID>
: <object ID>
:: - a player's account ID (can be retrieved by the pl command).  
:: - object ID (can be retrieved by [[pl]] or [[nl]] commands).  


: Ask the server for the name of the object with the specified ID.  
: Ask the server for the name of the object with the specified ID. The object can be a player or an NPC.


: '''''Note:'''''
: '''''Note:'''''

Latest revision as of 21:51, 31 July 2021

getplayerinfo (<object ID>)
getcharname (<object ID>)
<object ID>
- object ID (can be retrieved by pl or nl commands).
Ask the server for the name of the object with the specified ID. The object can be a player or an NPC.
Note:
- you will not see the info unless you have debug level 2
- the "getcharname" command only works on old servers