There are three things available to every script:
- The Script Support Class or
- The Bot Variables or
- The Module-level functions.
Script Support Class
- Main article: Script Support Class
SSC object is available automatically to all scripts loaded.
[SSC.]FunctionName Argument, Argument ReturnValue = [SSC.]FunctionName(Argument, Argument)
Where the [ ] means that this part is optional!
Bot Variables object
- Main article: Bot Variables
BotVars object is available automatically to all scripts loaded.
BotVars.PropertyName = Value Value = BotVars.Property
- Main article: Module functions
The module-level functions are a set of functions that the bot adds to the end of your script so that you can do actions specific to the current script.
Use them like you would call any VBScript function.