The SkunkWorks distribution package installs the following script files in the SkunkWorks\Libraries folder:
Filename |
Description |
Constant definitions for use with the native SkunkWorks API. |
|
Sample script illustrating the use of the OnCommand event. |
|
Sample script illustrating the use of skapi.ShowControls and the OnControlEvent event. |
|
Similar to ControlSample, but using a dropdown Choice control in place of an Edit control. |
|
Another control sample focusing on notebook and list controls. |
|
A simple example of receiving events and issuing keyboard commands in response. |
|
Sample script contributed by therkyn, and patterned after the t.js that came with ACScript, demonstrating basic event handling. Includes a handler for every defined event. |
|
Script contributed by Pax, implementing a table mapping spell names into numerical spellids. |
|
A library of navigation functions. For details, see the SkunkNav documentation as well as comments in the script itself. Although written in JScript, this library can be included in any project and called from any scripting language. |
|
Sample script that demonstrates SkunkNav functionality by implementing an interactive route file editor. For details, see the RouteMaker documentation as well as comments in the script itself. This script also includes a working VBScript example of skapi.ShowControls and OnControlEvent. |
|
A simple VBScript addon for foiling the client's inactivity timer and keeping your character logged in indefinitely. |
|
A "Hello World" COM application, written in Visual Basic, that accesses the SkunkWorks API directly without using the SkunkWorks console. |
|
Implements an in-game file browser similar to the standard Windows Open File dialog. Use this as is in your project or refer to it as a working example of Decal-side UI scripting. |
|
Miscellaneous string-handling functions required by FileBrowser. |
Use SkapiDefs and SkunkNav by including them in a SkunkWorks project along with your own script files. See any of the sample projects for examples of this.
At present there is no general-purpose SkunkLib analogous to ACScriptLib. Users migrating from ACScript can, however, continue to use ACScriptLib.js or .vbs as well as any other third-party script libraries such as Merchant.js or Navigate.js.