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. The bot also provides the Script object to store information about the specific script.
How to use
Use them like you would call any VBScript function.
List of module-level functions
- CreateObj(ObjType, ObjName)
- IsCommand(CommandName, strUsername)
- WriteSettingsEntry(EntryName, EntryValue)
- Main article: Script object
The script object is a standard Scripting.Dictionary provided by the bot per module to store script information. The bot uses keys set in the object after the initial execution of the script (before events are called).
- Main article: DataBuffer object
The DataBuffer object is a DataBuffer object provided by the bot per module. Use it, but remember to clean up after each packet. Alternatively, create a new DataBuffer every packet using the DataBufferEx function.