Chatwiththisname
Learning2Code
With the holyflags and downflags i dont really understand any of that stuff yet. Im still just trying to figure out on the macro programming. And didnt know if was a way to make just class threads for these too. Ill start reading back few pages. It just would take to long to read all these post with everything going on is why asked. Any help on what other ber do would be great. If you do have thing all set up already then PM me and maybe can ask there.
I know that there was a template posted for a lot of things many many pages back. Some of the more complicated stuff requries some ingenuity though.
I'll try and find you some templates and post them as an edit to this post.
downshit0=/if (${Spell[Taelosian Guard].Stacks} && !${Me.Buff[Taelosian Guard].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Band of Subterfuge"
downshit1=/if (${Spell[Form of Defense VII].Stacks} && !${Me.Buff[Form of Defense VII].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Redeye"
downshit2=/if (${Spell[Geomantra V].Stacks} && !${Me.Buff[Geomantra V].ID} && !${Me.Moving} && !${Me.Invis}) /casting "stasis-shard"
downshit3=/if (${Me.CombatAbilityReady[Bloodlust Aura]} && !${Me.Aura[Bloodlust Aura].ID} && !${Me.Moving} && !${Me.Invis}) /Disc Bloodlust Aura
downshit4=/if (${Spell[Call of Sky].Stacks} && !${Me.Buff[Call of Sky].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Orb of the Sky"
downshit5=/if (${Spell[Illusionary Spikes I].Stacks} && !${Me.Buff[Illusionary Spikes I].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Bladetwisting Backplate"
downshit6=/if (${Spell[Savage Guard].Stacks} && !${Me.Buff[Savage Guard].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Quickened Platinum Earcowl"
downshit7=/if (${Spell[Miraculous Visions].Stacks} && !${Me.Buff[Miraculous Visions].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Jymall's Gloves of Frenzy"
downshit8=/if (${Spell[Familiar: Blunt Force].Stacks} && !${Me.Buff[Familiar: Blunt Force].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Blunt Force"
downshit9=/if (${Spell[Familiar: Lesser Earth Elemental].Stacks} && !${Me.Buff[Familiar: Lesser Earth Elemental].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Minor Stone of Summoning:Earth"
holyshit0=/if (${Me.CombatAbilityReady[Eradicator's Volley RK. III]} && ${Target.PctHPs}>1) /Disc Eradicator's Volley Rk. III
holyshit1=/if (${Me.CombatAbilityReady[Overpowering Frenzy RK. III]} && ${Target.PctHPs}>1) /Disc Overpowering Frenzy RK. III
holyshit2=/if (${Me.CombatAbilityReady[Combat Frenzy RK. III]} && ${Target.PctHPs}>1 && ${Me.PctHPs}<89) /Disc Combat Frenzy RK. III
holyshit3=/if (${Me.CombatAbilityReady[Cry Havoc]} && ${Target.PctHPs}>1 && !${Me.Song[Cry Havoc].ID} /Disc Cry Havoc
This the ones I posted a while back, i know I have a lot more now that go a bit more in depth.
Below is a quick example of how to set up a clicky to autocast to keep the buff active without you messing with it. You will need an empty top level inventory slot and ~~ /plugin mq2cast ~~ ~~ /plugin mq2exchange ~~ if I recall correctly.
The way the holyshit/downshit works is you have a flag for holy/down that is set for each one. So if you have downshit1, downshit2, downshit2 and holyshit1, holyshit2, holyshit3, then you will also need downflag1=1/0 (1 being on and 0 being off) etc for each one.
[MQ2Melee]
Holyflag0=1
Holyflag1=1
Holyflag2=1
Holyflag3=0
Downflag0=1
Downflag1=1
Downflag2=1
Downflag3=0
meaning that holyshit0-2 is on and holyshit3 is off and Downshit0-2 is on and Downshit3 is off.
downshit0=/if (${Spell[Taelosian Guard].Stacks} && !${Me.Buff[Taelosian Guard].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Band of Subterfuge"
The above downshit auto casts my Taelosian Guard buff from my Band of Subterfuge ring. to convert this to any other item for casting that buffs to your regular spell buff slot you simply remove the buff name from the stack check, the check to see if you have it by ID and change the /casting "Band of Subterfuge" to the item you want. Be sure to use the """""""" marks on either side of the item name.
Another example would be if you have your Planes of Power armor clickies such as my Berserker does the gloves for clicky haste then it would be as follows
downshit7=/if (${Spell[Miraculous Visions].Stacks} && !${Me.Buff[Miraculous Visions].ID} && !${Me.Moving} && !${Me.Invis}) /casting "Jymall's Gloves of Frenzy"
Here is an EMPTY template for you to use for any clickie that gives you a standard buff.
downflag0=1
downshit0=/if (Spell[].Stacks} && !${Me.Buff[].ID} && !${Me.Invis}) /casting ""
Here is an Empty template for you to use for Combat Ability
Holyflag0=1
holyshit0=/if (${Me.CombatAbilityReady[]} && ${Target.PctHPs}>1 && !${Me.Buff[].ID} /Disc
at the end of each of these you have /disc or /casting or something of this type. This is where you are putting what you want to happen if all things come back TRUE
/if (${Me.AltAbilityReady[Savage Spirit]} && (${Target.PctHPs}<97) && !${Target.Type.Equal[Corpse]} && !${Me.AltAbilityReady[Vehement Rage]}) /casting "Savage Spirit" |alt
Something to that effect. I'll be headed to my room here shortly and I'll pull up my Full INI verify everything works and post it again minus the clickies because I've given you a template for that.
These lines will not automatically be in your INI for your character and will NEED TO BE ADDED.
The easiest way to learn code is to look at code. Everything you see is almost like talking unless you get into the more complicated ones that declare variables and give the user option to input their own parameters
Like for instance, the last line of code I posted above says that if my AA Savage Spirit is ready to use and my target has less than 97% hps and my target is -not- a corpse (the !!!!!'s say NOT whatever the command is. and My AA Vehement Rage is NOT ready (meaning it got pressed) then I want to click my Savage Spirit AA. This way it stacks with my Vehement Rage. That is an example of how it is simply read. You might also ONLY want to do this if your endurance is over a certain amount. Simple after the last && add
Code:
(${Me.PctEndurance}>45) &&
There are ways to find the information you need on this site also. Things like the Wiki for MQ2 which tell you a lot of information. So feel free to explore the wiki. If you don't know some information about a certain plugin goto the wiki and find the plugin you have questions about. If you STILL have questions (as there is usually examples) then please ask and most would be happy to help. But if you come in here and just say that your to lazy to spend the time looking through the thread and you haven't bothered to learn the code and u just want someone to do the bulk of the work then it might not always go well. Good luck.
Last edited: