Disconnect function
From StealthBot Wiki
The Disconnect() subroutine is available to StealthBot through the Script Support Class. It allows users to disconnect the bot through scripting from Battle.net.
Contents |
Development
The Disconnect function was added in StealthBot version 2.6 by the request of Imhotep.
Documentation
'// DISCONNECT
'// Closes any current connections within the bot.
Public Sub Disconnect()
Call frmChat.DoDisconnect
End Sub
Summary
This subroutine will disconnect the bot from any Battle.net, BNLS and/or Diablo II realms it is connected to.
Syntax
Disconnect
Examples
If Username = "Stealth" And Message = "Bye!" Then DoDisconnect

