Connect function

From StealthBot Wiki Backup
(Redirected from Connect)
Jump to: navigation, search

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