Difference between revisions of "Disconnect function"
m (→See also) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 08:20, 1 December 2017
The Disconnect() subroutine is available to StealthBot through the Script Support Class. It allows users to disconnect the bot through scripting from Battle.net.
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