Method PlayerBot.GetAccountIdByUsername [-] [+]

Returns the account ID for a given username.

Synopsis

accountId = Playerbot.GetAccountIdByUsername( username )

Arguments

string username

Account username to look up.

Returns

number accountId

The account ID, or 0 if not found.

Valid numbers: integers from 0 to 4,294,967,295.

Generated on
©2026 - ALE Lua Engine