Connect function

From StealthBot Wiki Backup
Revision as of 15:53, 21 November 2009 by Ribose (talk) (See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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