Lookup Player Account ID

From HEWIKI
Jump to: navigation, search

LookupPlayerAccountID(characterName as String) as ID

Arguments

<characterName> 
Name of player to search for

Description

Takes a character name, and returns the ID that would reference the appropriate _playerAccount root node.

This function can be used for a player that is not in the current Area, or is not logged in.

Note: This function does cause a database hit, so should be used sparingly.

Example

char as ID
 
char = LookupPlayerAccountID("HJ-Archaegeo")

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox