Menu

Tree [a27aa3] master /
 History

HTTPS access


File Date Author Commit
 lib 2011-08-27 Gerry Lightfoot Gerry Lightfoot [a27aa3] First release
 lillyScripts 2011-08-27 Gerry Lightfoot Gerry Lightfoot [a27aa3] First release
 source 2011-08-27 Gerry Lightfoot Gerry Lightfoot [a27aa3] First release
 .classpath 2011-08-27 Gerry Lightfoot Gerry Lightfoot [a27aa3] First release
 .project 2011-08-27 Gerry Lightfoot Gerry Lightfoot [a27aa3] First release
 readme.txt 2011-08-27 Gerry Lightfoot Gerry Lightfoot [a27aa3] First release
 screenshot01.jpg 2011-08-27 Gerry Lightfoot Gerry Lightfoot [a27aa3] First release

Read Me

eaiLilly
--------

Groovy Language to make eventAI scripting easier.

Please refer to:

http://www.trinitycore.info/index.php/Event_AI

You need:

1. Eclipse (3.4 or 3.6 recommended)
2. Groovy Plugin
   For eclipse 3.4: http://docs.codehaus.org/display/GROOVY/Groovy-Eclipse+2.0.0+New+and+Noteworthy
   For eclipse 3.6: http://docs.codehaus.org/display/GROOVY/Eclipse+Plugin+2.0.0+FAQ#EclipsePlugin2.0.0FAQ-Q.IsthereaversionofGroovyEclipseavailableforEclipse3.6%3F
3. eaiLilly

- Install eclipse and the Groovy plugin.
- Unpack eaiLilly to a directory.
- Eclipse: File \ Import... \ General \ Existing Projects into Workspace
  Navigate to the directory, where you unpacked eaiLilly

Open "lillyScripts \ example.groovy"

** Make sure you read http://www.trinitycore.info/index.php/Event_AI **

Hover with the mouse over the code - you will see the online help.

Tips:
Specify an event: Just type "new EVENT_" and then use code completion (CTRL+Space)
Specify an action: Just type "new ACTION_" and then use code completion (CTRL+Space)

Easy as that.

If you are done - run the script and you will find the SQL code printed to the console.

Have fun,

kizura, May 2010

Usage from console:
                        groovy -cp classes lillyScripts\example.groovy