Difference between revisions of "BotClose 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 BotClose() Script Support Class subroutine closes the bot.

Development

The BotClose function was added to StealthBot in version 2.6, as suggested by Imhotep.

Documentation

'// BOTCLOSE
'// Shuts down StealthBot
Public Sub BotClose()
    
    'Call frmChat.Form_Unload(0)
    Unload frmChat
    
End Sub

Summary

This subroutine will disconnect the bot and close the program.

Syntax

BotClose

Example usage

  • Quit when someone says "Die!".
  • If Message = "Die!" Then BotClose
    

See also