Page 1 of 3
monk epic buff cast if buffless syntax question
Posted: Sun Mar 06, 2005 5:54 am
by sethric
i'm fooling with genbot and i'm trying to setup buffs where, if i dont have chanter haste or monk epic haste buffs and i do have the monk epic equipped in hands slot (inventory 12), then click monk epic. I thought this should work, but, i'm doing it wrong, it doesnt like the third part, checking to see if monk epic is equipped. What am i doing wrong? Can't i set this up on one line?
Code: Select all
/delay until (!@{Me.Buff[Celestil Tranquility].ID) && !@{Me.Buff[Hastening of Salik].ID && @{Me.Inventory[12]} == ["Celestial Fists"]); snt item Celestial Fists
Re: monk epic buff cast if buffless syntax question
Posted: Sun Mar 06, 2005 6:25 am
by aChallenged1
sethric wrote:
Code: Select all
/delay until (!@{Me.Buff[Celestil Tranquility].ID) && !@{Me.Buff[Hastening of Salik].ID && @{Me.Inventory[12]} == ["Celestial Fists"]); snt item Celestial Fists
/delay is a timer in deci or full seconds, somehow I don't think that part alone would work.
I don't do a lot of item cast, and it may be how genbot routines are written, but what are the @s in there for? Typo? Those should be $s.
Posted: Sun Mar 06, 2005 6:44 am
by sethric
Code: Select all
/delay until (!@{Me.Buff[Celestil Tranquility].ID) && !@{Me.Buff[Hastening of Salik].ID); snt item Celestial Fists
The @'s instead of $ are correct, that's how genbot works.
The above works fine, it'll wait until i have neither monk epic nor chanterhaste buffs and then click monk epic for haste. It doesnt like the syntax i used to check to see if i also have monk epic equipped tho, gives me a, hmm, what was it, a 'non-numeric value' error i believe it was.
Posted: Sun Mar 06, 2005 10:34 am
by Xfactor
${String[${Me.Inventory[hands]}].Equal["Celestial Fists"]}
Posted: Sun Mar 06, 2005 1:28 pm
by Lax
DONT USE ${String} IN THAT CONTEXT
/me flips out
${Me.Inventory[hands].Name.Equal["Celestial Fists"]}
Posted: Sun Mar 06, 2005 1:56 pm
by sethric
ah, that's totally awesome, i'll keep that format on a note.
Thanks again for the great pointers.
Posted: Sun Mar 06, 2005 7:45 pm
by Lax
Also,
http://macroquest2.com/phpBB2/viewtopic.php?t=10763
make sure to follow those instructions in the future :)
Re: monk epic buff cast if buffless syntax question
Posted: Mon Apr 28, 2025 10:34 am
by xyilla
Re: monk epic buff cast if buffless syntax question
Posted: Mon Apr 28, 2025 10:35 am
by xyilla
Re: monk epic buff cast if buffless syntax question
Posted: Mon Apr 28, 2025 10:36 am
by xyilla
Re: monk epic buff cast if buffless syntax question
Posted: Mon Apr 28, 2025 10:37 am
by xyilla
Re: monk epic buff cast if buffless syntax question
Posted: Mon Apr 28, 2025 10:38 am
by xyilla
Re: monk epic buff cast if buffless syntax question
Posted: Mon Apr 28, 2025 10:39 am
by xyilla
Re: monk epic buff cast if buffless syntax question
Posted: Mon Apr 28, 2025 11:17 am
by xyilla
Re: monk epic buff cast if buffless syntax question
Posted: Mon Apr 28, 2025 11:18 am
by xyilla