
Originally Posted by
'Schwarz',index.php?page=Thread&postID=140879#post 140879
spamMac: /castrandom lightning bolt,greater healing wave
if I understand castrandom correct it will only goto the valid options. So If I have a harm selected it should shoot it with a lightning bolt. If i select my tank then it should cast a greater healing wave.
Some suggested this on another thread, but it doesn't work that way. Castrandom CAN pick a spell that is on cooldown even if another spell is available. I tested it last night with holy shield, AS, and judgement (long cooldowns, easier to test). I had as many as 4 clicks in a row where one of the spells was available but the macro picked one on cooldown and I got the "spell not ready" error. /castrandom can still be effective, but you have to mash the hell out of the button.
It sounds like you want to do something like:
Code:
/castsequence [target=focus]dps spell, [target=tankname] heal spell
But I don't think that works (not home to try it). If I recall, modifiers have to be at the start of the sequence only (therefor you could only have a single target).
There's a way to do it though it's a little crude, I think it's something along the lines of ClickButton, you can make a macro click a specific button at a specific location on a specific taskbar. If that button happens to house another macro I would think you could chain macros this way.
Yes, you can chain macros together by using /click and putting different macros on the buttons ... but you can't put the /click in a /castsequence, and you can't cast multiple spells by chained /clicks (it would work the same as putting multiple /cast for GCD spells in one macro, the first one met would be used and rest ignored).
However, I think the following would work for what you want, if you can use multiple /click in a single macro (again, not home to try it). It might also fail if the first sequence is hit and the comma in the second one gets ignored, you'll just have to experiment.
Macro A:
Code:
/click Button1
/click Button2
Macro on button 1:
Code:
/castsequence [target=focus] dps spell,
Macro on button 2:
Code:
/castsequence [target=tankname] ,heal spell
Note the comma in each sequence. If both /click will fire in the same macro, it *might* work since the empty spell (comma) doesn't trigger the GCD.
How to get the name of the button to /click:
1. Position your mouse over the button you want to click from a macro.
2. Paste the following in your chat box:
Code:
/script Message( GetMouseFocus():GetName() );
3. Use the name that appears in the popup window after your click statement:
Code:
/click FrameNameFromStep2
Connect With Us