Originally Posted by vis781
So CastspellbyName is a function that can be called whilst in combat lockdown from a secure frame, or any other frame for that matter?
|
It would be possible to do, not easily but doable.
You can cast spells by attributes, combine that with secure enter/leave frame that securely sets the attribute on mouse hovers (for setting which spell to cast), then filter it for the UnitName("mouseover"/"target"/"focus") returns, and there you go you got yourself a one-click IWIN button.
http://www.iriel.org/wow/docs/Secure...ide-4.0-r1.pdf