BotClose function

From StealthBot Wiki
Revision as of 18:30, 6 August 2009 by Ribose (talk | contribs) (Created page with 'The BotClose() <code>SSC</code> subroutine disconnects and closes the bot. ==Development== The BotClose function was added to StealthBot in vers…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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