Advertisement
Guest User

Mithrox mount macro

a guest
Nov 24th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.96 KB | None | 0 0
  1. /cancelaura Treant Form
  2. /cancelform
  3. /run
  4. local i,j="FLYING MOUNT NAME","GROUND MOUNT NAME";
  5. if
  6. (
  7.     not IsMounted()
  8.     and SecureCmdOptionParse"[nomod]"
  9. )
  10. then
  11.     if
  12.     (
  13.         GetCurrentMapContinent() == 7
  14.         or GetZoneText() == "Timeless Isle"
  15.     )
  16.     then
  17.         C_MountJournal.Summon(34)
  18.     else
  19.         CastSpellByName(IsFlyableArea() and i or j)
  20.     end
  21. else
  22.     Dismount()
  23. end
  24. /cast [mod:alt] Traveler's Tundra Mammoth; [mod:ctrl] Traveler's Tundra Mammoth;
  25.  
  26. __________________________________________________________________________________________________________________
  27.  
  28. /cancelaura Treant Form
  29. /cancelform
  30. /run local i,j="FLYING MOUNT NAME","GROUND MOUNT NAME";if(not IsMounted() and SecureCmdOptionParse"[nomod]") then if(GetCurrentMapContinent() == 7 or GetZoneText() == "Timeless Isle") then C_MountJournal.Summon(34) else CastSpellByName(IsFlyableArea() and i or j) end else Dismount() end
  31. /cast [mod:alt] Traveler's Tundra Mammoth; [mod:ctrl] Traveler's Tundra Mammoth;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement