Script Support Class

From StealthBot Wiki Backup
Jump to: navigation, search

The SSC object is available automatically to all scripts loaded, and the functions are exposed so that the SSC. part of the call is optional.

History

The Script Support Class was created with the script system to give scripts access to internal bot functions.

The contents of the Script Support Class are packaged with the bot on every release in ScriptSupportClass.txt to provide scripters easy access to the functions available.

How to use

Syntax:

[SSC.]FunctionName Argument, Argument
ReturnValue = [SSC.]FunctionName(Argument, Argument)

Where the [ ] means that this part is optional!

List of SSC global variables

List of SSC functions

See also