Line addition to Mac?

BlueBug

Premium Member
Joined
Jun 20, 2007
Messages
305
Reaction score
13
Points
18
I have, what I hope will be an easy to answer question. I want to add a line to a mac to casue it to delay x number of seconds if my toons endurance falls below a certain ammount.
Is this somethign as simple as a single line to check and a second line for the ammount of time to /delay? Or is it somethimg more complicated?


Thansk Guys n' Gals- BB
 
This is rather easy but need more info.

Are you targeting said person in group? if not
load up netbots and


Code:
/if (${NetBots[TOONNAMEHERE].PctEndurance<30}) {
  /delay 5m ${NetBots[TOONNAMEHERE].PctEndurance>90}


I think thats how you could do that. I could be wrong, i'm sure someone smarter will come along and tell you a different way that will probably work better. /cough JJ :)
 
if the toon is targeted

/if (${Target.PctEndurance}<30) {
/delay 5m ${Target.PctEndurance}>90
}

again , i could be wrong. Just telling you what i THINK
 
that would mostly work for if its another person but if its just YOUR endurance
but you forgot to close up the { }
Code:
(${Me.PctEndurance}<30) {
/doyourstuffhere
/delay 5m ${Me.PctEndurance}<90}
}
 
Not sure if it actually made it into the compile but we should be able to pull ${Group.Member[Fred].PctEndurance} Originally was not available but with change in how groups can see mana / endurance it should be. Just need to map it out .
 
Awsome guys. Thanks much i hadnt thought about using it for another toon but now that I think about it that would come in very handy.

Appreciate it VI and JJ.


BB