WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   I want to modify this macro! (https://www.wowinterface.com/forums/showthread.php?t=57011)

hoslam1 02-04-19 11:08 PM

I want to modify this macro!
 
Hi, guys.
I currently use the following macro to mounts.

Quote:

/run local C,S=CastSpellByName,SecureCmdOptionParse"[swimming]Azure Water Strider;[noflyable]Invincible";if IsMounted()then Dismount()elseif GetZoneText()=="Nazmir"then C("Azure Water Strider")elseif S then C(S)else C_MountJournal.SummonByID(0)end
With the above macro, I can ride the 'Azure Water Strider' when I'm in a swimming or when I stay in Nazmir.
I want to ride 'Azure Water Strider' in Tiragarde Sound like in Nazmir.
I want to add but I do not know how. Help.

Tim 02-05-19 12:50 PM

Code:

/run local C,S=CastSpellByName,SecureCmdOptionParse"[swimming]Azure Water Strider;[noflyable]Invincible";if IsMounted()then Dismount()elseif GetZoneText()=="Nazmir" or GetZoneText() == "Tiragarde Sound"then C("Azure Water Strider")elseif S then C(S)else C_MountJournal.SummonByID(0)end

hoslam1 02-05-19 09:05 PM

Quote:

Originally Posted by Tim (Post 331525)
Code:

/run local C,S=CastSpellByName,SecureCmdOptionParse"[swimming]Azure Water Strider;[noflyable]Invincible";if IsMounted()then Dismount()elseif GetZoneText()=="Nazmir" or GetZoneText() == "Tiragarde Sound"then C("Azure Water Strider")elseif S then C(S)else C_MountJournal.SummonByID(0)end


You are a genius! Thank you very much. :)


All times are GMT -6. The time now is 02:31 PM.

vBulletin © 2019, Jelsoft Enterprises Ltd
© 2004 - 2019 MMOUI