you are going to want to check out the "plugin list" at the top of this page, and look for
MQ2Melee. It will explain how the plugin works... and give examples for various things. You will want to spend some time learning the language some, so you can get it just the way you want it, as well as how the plugin behaves. (You can also check out the source site's WIKI for
MQ2melee)
Some of it can be very confusing, but i will give you an idea on what you are looking for. This is something I posted on the source Wiki some time back for my SK.
Rich (BB code):
Sk centric but can be edited for use with any tank
first line checks if first damage mod disc is ready, the target is named , endurance is over 800, and there is no current disc running
second line does the same as first, but also check that first damage mod disc is unavailable
third line does same as second , except it also checks that the second damage mod disc is unavailable
holyshit7=/if (${Me.CombatAbilityReady[Grelleth's Carapace Rk. II]} && ${Target.Named} && ${Me.CurrentEndurance}>8000 && ${Window[CombatAbilityWnd].Child[CAW_CombatEffectLabel].Text.Equal[No Effect]}) /disc Grelleth's Carapace Rk. II
holyshit8=/if (${Me.CombatAbilityReady[Bonebrood Mantle Rk. II]} && ${Target.Named} && !${Me.CombatAbilityReady[Grelleth's Carapace Rk. II]} && ${Me.CurrentEndurance}>8000 && ${Window[CombatAbilityWnd].Child[CAW_CombatEffectLabel].Text.Equal[No Effect]}) /disc Bonebrood Mantle Rk. II
holyshit9=/if (${Me.CombatAbilityReady[Unholy Guardian Discipline Rk. II]} && !${Me.CombatAbilityReady[Bonebrood Mantle Rk. II]} && ${Target.Named} && !${Me.CombatAbilityReady[Grelleth's Carapace Rk. II]} && ${Me.CurrentEndurance}>8000 && ${Window[CombatAbilityWnd].Child[CAW_CombatEffectLabel].Text.Equal[No Effect]}) /disc unholy Guardian Discipline Rk. II
Breaking down the first line:
holyshit7= This is the holyshit line.
/if This is the beginning of the "IF" statement, or conditions that have to all equal TRUE in order to do the command. All condition are inside ( )
(${Me.CombatAbilityReady[Grelleth's Carapace Rk. II]} First condition... is my disc ready
&& ${Target.Named} second condition... is the target a named
&& ${Me.CurrentEndurance}>8000 third condition... do I have enough endurance to use the condition
&& ${Window[CombatAbilityWnd].Child[CAW_CombatEffectLabel].Text.Equal[No Effect]}) last condition... is my combat window empty (not using a disc)
/disc Grelleth's Carapace Rk. II if all conditions equalled TRUE, then fire off the disc.
The next holyshit does the same as this one, but with the additional condition of checking that the first discipline is unavailable. IE the first disc has been used... and as soon as the combat window is empty... fire off disc number 2!
You are of course free to use what ever conditions you want to limit or free up how often the disc is used. This is something I set up for the exact reason you are posting... I wanted my tanks to stop dieing on named! So this ought to be close to what you are looking for... just need to edit the name of the disciplines to reflect what your SK is using (and check on the endurance cost, to adjust the endurance check if needed) and in which order you want to use them in.