isihia wrote:do i have to load any other addon to get this lua script to work ?
The quick way to get it to work would be: make a folder in the addons directory, say "foo" and in there make a .lua file, say "mouseover.lua" and a .toc file with the same name as the folder (foo.toc in this case). The last file must contain a reference to the .lua file so it should just containt "mouseover.lua" in this case.
Now load the addon ingame and invoke the script through a macro, for example:
- Code: Select all
/script if nil then CastSpellByName("Heal(Rank 1)") end
/run SmartCastFriend("Heal(Rank 1)")