I'm no expert on Vanilla Macros, but I can give you a few examples and good tips that will help
(I found this looking for a dismount macro heh)
firstly, there is no /cast, it is strictly, /script & /run (which works in more ways but doesn't give a command to cast)
for #showtooltip, you'd replace with /setspelltooltip Vanish
So, when using or switching items, you have to instead of specifying the item, you specify where it is located in your bags & inventory: /run UseContainerItem(1, 5, 5) for an item in your bag, or /run UseInventoryItem(14)
For mouse over macros, you do require an addon, personally I use Classic Mouseover (
http://www.wow-one.com/forum/topic/1380 ... seover-cm/), I use it in conjuntion w/ grid, however, it does work mousing over toons. I have a decently complex macro that I use on my Hpal to heal using modifers (yep) switching between spell ranks and spells.
/script if IsAltKeyDown() then CM:Cast("Blessing of Protection"); else if IsControlKeyDown() then CM:Cast("Lay on Hands"); else if IsShiftKeyDown() then CM:Cast("Blessing of Freedom");else CM:Cast("Purify");end;end;end
Basically if and then programming statements, you can replace "CM:Cast" with CastSpellByName("Flash of Light").. the CM:Cast is just a shorted version to use the /cmcast <spellnamehere> which would work just fine for your situation. Hope this helped
Helpful sources:
https://nirklars.wordpress.com/wow/vanilla-wow-macros/Check it out, even shows you how the equipping or using items work w/ diagrams