Goto page Previous  1, 2 General MQ2Melee /killthis /holyshit question
Reply
Here's a slightly different one. It might be too long to use though.

Macro
More +
holyshit#/downshit#=/docommand ${If[${Target.ID}!=${Me.ID} && ${Target.ID}!=${Me.Pet.ID},/multiline ; ${If[${Defined[${Me.CleanName}Target]},/varset ${Me.CleanName}Target ${Target.ID},/declare ${Me.CleanName}Target int global ${Target.ID}]};${If[${Defined[${Me.CleanName}DoTarget]},/varset ${Me.CleanName}DoTarget TRUE,/declare ${Me.CleanName}DoTarget bool global TRUE]},/timed 10 /multiline ; /if (${DoTarget}) /target id ${${Me.CleanName}Target};${If[${Defined[${Me.CleanName}DoTarget]},/varset ${Me.CleanName}DoTarget FALSE,/declare ${Me.CleanName}DoTarget bool global FALSE]}]}
Wed May 04, 2011 8:49 pm
thanks for the attempt Whoboo, much appreciated but I couldn't seem to get yours to work and I had a much harder time following the logic. These aren't commands I'm normally used to seeing.
I'll to back to the method that appears to be working as well as I had wished for. Thanks though.
Thu May 05, 2011 6:25 am
Eh, oh well. Glad to hear you got it working at least.
Thu May 05, 2011 8:14 am
Here is mine expanded out. Honestly I'm not sure if the /timed s in there will work as I'm thinking.

Macro
More +
        /if (${Target.ID}!=${Me.ID} && ${Target.ID}!=${Me.Pet.ID}) {
                /if (${Defined[${Me.CleanName}Target]}) {
                        /varset ${Me.CleanName}Target ${Target.ID}
                } else {
                        /declare ${Me.CleanName}Target int global ${Target.ID}
                }
                /if (${Defined[${Me.CleanName}DoTarget]}) {
                        /varset ${Me.CleanName}DoTarget TRUE
                } else {
                        /declare ${Me.CleanName}DoTarget bool global TRUE
                }
        } else {
                /timed 10 /if (${DoTarget}) /target id ${${Me.CleanName}Target}
                /timed 10 /if (${Defined[${Me.CleanName}DoTarget]}) {
                        /varset ${Me.CleanName}DoTarget FALSE
                } else {
                        /declare ${Me.CleanName}DoTarget bool global FALSE
                }
        }

       
Thu May 05, 2011 2:58 pm
Goto page Previous  1, 2 General MQ2Melee /killthis /holyshit question
Reply