The second example is how to have an addon run its own code when a key is pressed. It won't let you do protected actions like use an ability. You have to still mess around with the keybind system and SecureActionButton templates.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
|
|