View Single Post
10-15-14, 03:21 PM   #2
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 194
/run doesn't directly accept macro conditionals. You have a few options:

Code:
/cast [mod:ctrl] Survey
/stopmacro [mod:ctrl]
/run C_MountJournal.Summon(0)
Code:
/cast [mod:ctrl] Survey
/run if not IsControlKeyDown()then C_MountJournal.Summon(0)end
Code:
/cast [mod:ctrl] Survey
/run if SecureCmdOptionParse"[nomod:ctrl]"then C_MountJournal.Summon(0)end
These are all equivalent.
  Reply With Quote