I kind of like this, so I made my own. However, I use LiteMount, which recognizes when you can't use a mount and doesn't send out a spellcast event. For those that want a weakaura warning with LiteMount, set up a trigger with Custom > Status > Every Frame and the following function:
Lua Code:
function()
if not LiteMount then return false end
local litemount=false
if LiteMount.actions and not _G["HOOKLITEMOUNTFORWEAKAURA"] then
setglobal("HOOKLITEMOUNTFORWEAKAURA",true)
hooksecurefunc(LiteMount.actions[1],"Dispatch",function()
setglobal("LITEMOUNTFORWEAKAURA",true)
end)
hooksecurefunc(LiteMount.actions[2],"Dispatch",function()
setglobal("LITEMOUNTFORWEAKAURA",true)
end)
hooksecurefunc(LiteMount.actions[3],"Dispatch",function()
setglobal("LITEMOUNTFORWEAKAURA",true)
end)
hooksecurefunc(LiteMount.actions[4],"Dispatch",function()
setglobal("LITEMOUNTFORWEAKAURA",true)
end)
end
if _G["LITEMOUNTFORWEAKAURA"] then
litemount=true
setglobal("LITEMOUNTFORWEAKAURA",false)
end
return litemount
end
However, this does not have the option to ignore, so druids, shamans, worgen, and anyone using the two maw mounts will get this trigger every time (LiteMount handles them all) so if you can mount in the maw on certain characters, you may want to fiddle with the load tab. Also, make sure you set the Zone ID to 1543 as mentioned above or you'll get this warning everywhere you mount.