PDA

View Full Version : Macro to cast only when modifier is pressed???



dualness
11-05-2008, 01:34 PM
I have a healer that I want to follow me around and only cast heals if I press the modifier such as the control key. This way I won't have to reset my keybindings when I am not dual-boxing and I can just have the macros on bar #2. Does anyone know of a way to do this? I am new to the modifier parameters. Also if it makes a difference I am using keyclone to pass the keys to the second client. Any suggestion would be greatly appreciated. Thanks in advance!

Kulzor
11-05-2008, 01:44 PM
The way I'd do it (and do) is to set something like Alt-E to only be passed to the healer's machine (and ignored on the main machine).

On the healer's machine I'd make a macro like this:
/cast [target=MyTankFriend,nodead] HealSpell

Then drag that to a button slot, and set a keybinding to it in WoW for Alt-E.

Sam DeathWalker
11-05-2008, 01:49 PM
http://www.wowwiki.com/Making_a_macro#modifier:shift.2Fctrl.2Falt ('http://www.wowwiki.com/Making_a_macro#modifier:shift.2Fctrl.2Falt')

Section 14.7

dualness
11-05-2008, 07:26 PM
Thanks for the help. Has anyone noticed the CTRL modifier is not working?

elsegundo
11-05-2008, 09:05 PM
Thanks for the help. Has anyone noticed the CTRL modifier is not working?you might want to hit your keybindings menu and unbind those. they're usually linked to pet commands.

Golle
11-06-2008, 07:15 AM
You can have something like this:
/cast [nomodifier] Spell1
/cast [modifier:shift/alt/ctrl] Spell2

Tynk
11-06-2008, 12:28 PM
/cast [nomodifier] Spell1
/cast [modifier:shift/alt/ctrl] Spell2

absolutely should work, but just for a matter of efficiency and clean code, you can do something like this.

/cast [nomod] Spell1,[mod] Spell2

elsegundo
11-06-2008, 04:23 PM
/cast [nomodifier] Spell1
/cast [modifier:shift/alt/ctrl] Spell2

absolutely should work, but just for a matter of efficiency and clean code, you can do something like this.

/cast [nomod] Spell1,[mod] Spell2or... /cast [mod] Spell1; spell2

Tynk
11-06-2008, 04:45 PM
/cast [nomodifier] Spell1
/cast [modifier:shift/alt/ctrl] Spell2

absolutely should work, but just for a matter of efficiency and clean code, you can do something like this.

/cast [nomod] Spell1,[mod] Spell2or... /cast [mod] Spell1; spell2you mean /cast [mod] Spell2; Spell1 :P

elsegundo
11-06-2008, 04:55 PM
/cast [nomodifier] Spell1
/cast [modifier:shift/alt/ctrl] Spell2

absolutely should work, but just for a matter of efficiency and clean code, you can do something like this.

/cast [nomod] Spell1,[mod] Spell2or... /cast [mod] Spell1; spell2you mean /cast [mod] Spell2; Spell1 :Pno. i meant what i said. but you can switch spells to whatever you like. whatever spell1 and spell2 is... it doesnt matter.

Sam DeathWalker
11-07-2008, 03:46 AM
I dont think you use nomod

List the spell you want first with the mod, the have an empty [] for what else occurs the empty thing always returns true.


/cast [modifier:shift] spell1; [] spell2

Tdog
11-09-2008, 04:50 AM
Okay it sounds to me like you're actually using your main 70 to follow around a lowbie alt for lvling purposes and don't actually want your main to attack anything but just heal when you hit your modifiers.

If that's the case you can just do...


/cast [mod:modifier] healing spell

This will cast nothing at all unless you actually use your modifier key. You can also add in...


/cast [mod:modifier, target=alt's name] healing spell

target=w/e to ensure that the heals will be landing on the toon being followed without having to worry about what your healer is targeting. If you are actually trying to follow around another 70 for say grinding purposes and want the healer to attack as well then that macro has already been covered.