Page 1 of 6

Disc check for Zerker Volley

Posted: Sat Jul 14, 2007 7:27 pm
by Banana
Greetings,

Ive been trying unsuccessfully to make a simple script that checks if a disc is available. From there it will be simple to have a toon use all sorts of discs, especially short reuse ones. In this case, im trying to get the Zerker discipline Destroyer's Volley to activate every 12 seconds.

I dont have any kind of programming backround, so ive asked around and played around with the ability check/execute script below:
/if (${Me.AbilityReady[Frenzy]} ) {
/doability "Frenzy"
/delay 5
}

to something like:

/if (${Me.discReady[Destroyer's Volley]} ) {
/disc Destroyer's Volley
/delay 5
}

Also ive tried manipulating the item timer check script, but to no avail:
/if (${FindItem[=Vengeful Taelosian Blood Axe].Timer.Time.Equal[0:00]}) {
/delay 2
/call Cast "Vengeful Taelosian Blood Axe" item
}
However, due to my ignorace of coding nuances, ive failed to get any disciple check script to work. Ive done searches for other popular quick reuse discs like the monk nuke, and the warrior bellow line, but it always seems like the code is very complex instead of the simple examples used above. Its quite possible that due to the fact that there are no available examples found on a simple (or intense) search, that there is no 'simple' disc check code, and id have to learn how all the more complicated disc check codes work.

Page started here: http://www.macroquest2.com/wiki/index.p ... eck_script

Either way, thank you for your time :)

Posted: Sat Jul 14, 2007 8:06 pm
by dont_know_at_all

Code: Select all

${Me.CombatAbilityReady[Destroyer's Volley]}

Posted: Sat Jul 14, 2007 8:46 pm
by Banana
Many thanks, will give it a try =)

Re: Disc check for Zerker Volley

Posted: Fri Feb 07, 2014 11:36 am
by 2xWhiskey
I'm posting this here because it seems very relevant to this topic. How can I add in a check that would prevent my discipline macro from spamming me out?

Imagine that I have this going:

Code: Select all

/if ${Me.CombatAbilityReady[Leopard Claw]} /disc Leopard Claw
It is working fine for me, but say I'm in a pinch and manually activate a defensive disciple. I'd like to prevent the macro from trying to activate Leopard Claw while the defensive discipline is going, thus prevent the spam, "You cannot do this blah blah."

I guess you could see my question as, what would the correct entry be to slip into that line;

Code: Select all

/if (${Me.CombatAbilityReady[Leopard Claw]} && !${CHECK IF ANY DISCIPLINE IS ACTIVE IN THE COMBATABILITYWND}) /disc Leopard Claw
Thanks in advance, I really appreciate your assistance and what MQ2 brings to the game for me.

Re: Disc check for Zerker Volley

Posted: Fri Feb 07, 2014 4:03 pm
by PeteSampras
!${Me.ActiveDisc.ID} will let you know if one is currently running.

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 7:33 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 7:34 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 7:35 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 7:36 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 7:37 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 7:39 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 7:40 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 8:17 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 8:18 am
by xyilla

Re: Disc check for Zerker Volley

Posted: Sat Aug 16, 2025 8:19 am
by xyilla