Issues with /if

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Shali
a ghoul
a ghoul
Posts: 87
Joined: Sun Dec 07, 2003 12:39 pm

Issues with /if

Post by Shali » Thu Apr 22, 2004 1:31 am

I had some problems running one of my macros, so i ran a little test using a /if:

Code: Select all

Sub Main
  :Go
	/if (${Me.CurrentHPs}==300000) {
		/echo TRUE  
		/delay 10
		/goto :Go
		}
	/echo FALSE
/endmacro

When i ran this, it returned a TRUE everytime, can anyone tell me what im doing wrong here?

btw, i dont have 300000hp :?

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Thu Apr 22, 2004 1:35 am

What result do you get when you:
/echo ${Me.CurrentHPs}

?

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 » Thu Apr 22, 2004 1:51 am

Are you using MQ2-20040421b.zip? This is the specific issue that was fixed.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Shali
a ghoul
a ghoul
Posts: 87
Joined: Sun Dec 07, 2003 12:39 pm

re

Post by Shali » Thu Apr 22, 2004 7:30 am

reports 2386.....and if thats the first version that was released at around 5:00pm est yesterday then that would be the problem

Shali
a ghoul
a ghoul
Posts: 87
Joined: Sun Dec 07, 2003 12:39 pm

re

Post by Shali » Thu Apr 22, 2004 7:40 am

Just downloaded and recompiled the most recent version up on site, the /if statement in that short macro was returning TRUE everytime like it was before no clue whats up

*EDIT* scratch that, im retarded, of course it fixed it =P