monk epic buff cast if buffless syntax question

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

sethric
orc pawn
orc pawn
Posts: 19
Joined: Fri Oct 04, 2002 12:34 pm

monk epic buff cast if buffless syntax question

Post by sethric » Sun Mar 06, 2005 5:54 am

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 

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Re: monk epic buff cast if buffless syntax question

Post by aChallenged1 » Sun Mar 06, 2005 6:25 am

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.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

sethric
orc pawn
orc pawn
Posts: 19
Joined: Fri Oct 04, 2002 12:34 pm

Post by sethric » Sun Mar 06, 2005 6:44 am

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.

Xfactor
orc pawn
orc pawn
Posts: 15
Joined: Tue Sep 23, 2003 11:34 am

Post by Xfactor » Sun Mar 06, 2005 10:34 am

${String[${Me.Inventory[hands]}].Equal["Celestial Fists"]}

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun Mar 06, 2005 1:28 pm

DONT USE ${String} IN THAT CONTEXT
/me flips out

${Me.Inventory[hands].Name.Equal["Celestial Fists"]}
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

sethric
orc pawn
orc pawn
Posts: 19
Joined: Fri Oct 04, 2002 12:34 pm

Post by sethric » Sun Mar 06, 2005 1:56 pm

ah, that's totally awesome, i'll keep that format on a note.
Thanks again for the great pointers.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun Mar 06, 2005 7:45 pm

Also, http://macroquest2.com/phpBB2/viewtopic.php?t=10763

make sure to follow those instructions in the future :)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: monk epic buff cast if buffless syntax question

Post by xyilla » Mon Apr 28, 2025 10:34 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: monk epic buff cast if buffless syntax question

Post by xyilla » Mon Apr 28, 2025 10:35 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: monk epic buff cast if buffless syntax question

Post by xyilla » Mon Apr 28, 2025 10:36 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: monk epic buff cast if buffless syntax question

Post by xyilla » Mon Apr 28, 2025 10:37 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: monk epic buff cast if buffless syntax question

Post by xyilla » Mon Apr 28, 2025 10:38 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: monk epic buff cast if buffless syntax question

Post by xyilla » Mon Apr 28, 2025 10:39 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: monk epic buff cast if buffless syntax question

Post by xyilla » Mon Apr 28, 2025 11:17 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: monk epic buff cast if buffless syntax question

Post by xyilla » Mon Apr 28, 2025 11:18 am