I have been getting back into eq and mq2. I am just playing on a personal eqemu server with some friends and trying to 3 box. Currently I am trying to create a macro that checks for clarity and the amount of time left and if it fits in that window or they don't have the spell it should cast.
I have been putting off asking this for days as i know there are other plugins that can probably do exactly this but I don't have access to them or can't get them working. Besides I think if I can figure this stuff out it just helps with my knowledge of creating macro's. What I have sorta works but still throws errors. Also my mq2casttimer is wrong and I think it gives buffs with extended AA's added to the time so that is another separate issue. I am not a coder so this may be the wrong way to do this entirely.
I have been putting off asking this for days as i know there are other plugins that can probably do exactly this but I don't have access to them or can't get them working. Besides I think if I can figure this stuff out it just helps with my knowledge of creating macro's. What I have sorta works but still throws errors. Also my mq2casttimer is wrong and I think it gives buffs with extended AA's added to the time so that is another separate issue. I am not a coder so this may be the wrong way to do this entirely.
INI:
Sub Main
/declare x int local
/for x 0 to 5
/target ${Group.Member[${x}]}
/if (${Target.Buff[clarity].ID}) && (${Target.BuffDuration[clarity]} < 1000) /casting clarity -maxtries|5
/delay 10s ${Cast.Ready[Clarity]}
/next x
/return