Difference between revisions of "BotClose function"

From StealthBot Wiki
Jump to: navigation, search
(Created page with 'The BotClose() <code>SSC</code> subroutine disconnects and closes the bot. ==Development== The BotClose function was added to StealthBot in vers…')
 
m (Syntax)
Line 16: Line 16:
 
This subroutine will disconnect the bot and close the program.
 
This subroutine will disconnect the bot and close the program.
  
===Syntax==
+
===Syntax===
 
  BotClose
 
  BotClose
  

Revision as of 18:30, 6 August 2009

The BotClose() SSC subroutine disconnects and 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

Examples

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

See also