I might be missing it, but I am trying to find a way to tell if a player has just clicked on a skill. The purpose of this is to then type some text into the /say channel for Role-playing purposes

For example;
A Player is on his Hunter character and uses the "Set Snare" move, which his has located on quickslot 3 slot 5. Through the LUA plugin when the player clicks on that skill it recognizes that fact and types in to the say channel. "Hold on let me set a snare... bring them to this place."

In my mind I can work this out in multiple ways in the plugin, but at the very least I need to know what quickslot the person is actually clicking on, preferably knowing what skill they just activated is better. Anyone have any insight?