This addon allows you to say stuff, play sound files and/or execute lua code on certain spellcast related events.
It maintains a list of all spell related events which have happened once or more, to which you can then "hook" sound files or lua code to be executed when they next happen.
To display a list of events you have thus far accumulated, use the slash command:
with no arguments.
Then you basically just clickety click your way to an event of your choice, after which the event setup window should open.
The soundfile field requires a path to a sound file you want to play. If there are no backslashes ('\') in the path, the addon will attempt to play the file from the AddOn's \sounds\ subfolder. Otherwise it will require a path relative to the WoW directory. Also, sound files must exist prior to starting WoW, so if you add files during runtime, you're going to have to restart the game (reloading UI won't do :P).
The second field makes you say whatever you type in it in the /say channel. If you want to use any other channel, use the Lua field.
The third field allows you to execute lua code, if the two fields above couldn't satisfy your needs. For example, if you want to yell something, you'd type SendChatMessage("something","YELL") in the field.
To "unhook" events, just clear the fields of everything. Yeah, it's still kinda primitive.
on: Activates the addon
off: Deactivates the addon
clear: Deletes all events with no actions hooked into them from the list.
wipe: Deletes everything, including hooked stuff.
no argument: Displays the event list.
It's still kinda alpha-ish, but has worked well enough for me so far.
Feel free to report any bugs you may encounter :P
TO DO list:
*Improve other stuff