Difference between revisions of "Connect function"

From StealthBot Wiki Backup
Jump to: navigation, search
m (See also)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:20, 1 December 2017

The Connect() subroutine is available to StealthBot through the Script Support Class. It allows users to connect the bot through scripting to Battle.net.

Development

The Connect function was added in StealthBot version 2.6 by the request of Imhotep.

Documentation

'// CONNECT
'// Connects the bot. Will disconnect an already-existent connection.
Public Sub Connect()

    Call frmChat.DoConnect

End Sub

Summary

This subroutine will begin connecting the bot. The bot will be disconnected if already connected.

Syntax

Connect

Example usage

  • Connect if offline:
  • If Not IsOnline() Then Connect
    

See also