Method PlayerBot.CreateBotAccount [-] [+]

Creates a new game account. Uses the core AccountMgr to register a username/password pair in the login database.

Synopsis

result = Playerbot.CreateBotAccount( username, password )

Arguments

string username

Account username.

string password

Account password.

Returns

number result

AccountOpResult enum (0 = AOR_OK, see AccountMgr.h for other codes).

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

Generated on
©2026 - ALE Lua Engine