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 guidLowThe low part of the bot character's GUID.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
boolean successTrue if the bot was logged out, false if not found or not a bot.