Scripts are essentially segments of Lua code that get run when a registered event fires. Scripts are provided with a state variable, access to settings (which can be manipulated using the blizzard addon panel), and a limited subset of the global environment. Using Lua comments, scripts can define properties (similar to the Outfitter script properties) to control events, display, and settings.
Scripts run every time a requested event fires.
See LibUserScript/Script API for documentation on script writing.
See Environment for a list of available global variables.
Facts
- Date created
- 29 Nov 2008