EDIT: This page is rather obsolete. See
http://www.lackeyccg.com/forum/index.php?topic=2134.0The new Lackey has some scripting that is optional and very easy to implement.
If you want to include scripting in your plugin, have one column of your card data file named "Script".
If a card has a script defined for it, the script will run when the card is put onto the table from anywhere.
I tried to keep the syntax short. Here are some examples:
CG4
This sets the number of green counters to 4.
N"This is a note."
This set's a note on the card to "This is a note."
S"Knight"x3
This spawns 3 "Knight" cards, which are typically tokens, but this also works with any kind of card.
F
This card enters play face-down.
R90
This card enters the table rotated 90 degrees.
I
This card enters the table flagged as "immune to turn all" effects.
H
This card enters the table hovering.
You can use multiple scripts if you separate them with a comma, such as
R90,CR3
That makes the card land on the table rotated 90 degrees and with 3 red counters on it.
Currently, these aren't mentioned in the log and they just happen. If anyone has suggestions on improvements, let me know.