Method PlayerBot.LogoutBotByGuid [-] [+]

Logs out a bot by its GUID. Calls WorldSession::LogoutPlayer and destroys the bot session. Only works on bot sessions (IsBot=true). Will not log out real players.

Synopsis

success = Playerbot.LogoutBotByGuid( guidLow )

Arguments

number guidLow

The low part of the bot character's GUID.

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

Returns

boolean success

True if the bot was logged out, false if not found or not a bot.

Generated on
©2026 - ALE Lua Engine