Trying To Determine My Target's Buffs
Posted: Wed Jun 23, 2004 4:29 pm
I am working on my first macro, a simple cleric bot for multiboxing on my EQEmu server.
I am trying to determine whether each of my group members has the 'Courage' buff.
I am using the following lines of code:
My problem is that a Group member is a spawn type. I would like to use the Character.Buff[Name] member, but I can't, because I am targeting a spawn, which doesn't have a member like that.
Is there some way to convert or create a character variable using the name of the target, so that I can see if the target has the pertinent buff?
I am trying to determine whether each of my group members has the 'Courage' buff.
I am using the following lines of code:
Code: Select all
/for Ctr 1 to ${Group}
/if (${Me.CurrentMana}<10) /return
/stand
/target ${Group[${Ctr}]}
{insert /if clause and cast command here}
/next Ctr
Is there some way to convert or create a character variable using the name of the target, so that I can see if the target has the pertinent buff?