warning: newif will be requiring an enclosing ().....

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

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

warning: newif will be requiring an enclosing ().....

Post by Preocts » Tue Apr 20, 2004 4:40 pm

Okay, I'm confused here and it's not even a tough issue. While updating and learning the new TLO system I'm started getting this warning on 'some' of my /newif statements but not all of them. It's as simple as turning this:

Code: Select all

 /newif ${Math.Calc[5>4]} /echo Gee yer smart 
to this:

Code: Select all

 /newif (${Math.Calc[5>4]}) /echo Gee yer smart 
right?

heh, the fact that it doesn't show up for all my newif statements makes me question.

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 » Tue Apr 20, 2004 4:48 pm

yes

The warning is only given the first time a /newif without them is encountered, so you're not spammed while you macro but still get the warning.

Same with the /press and /sendkey warnings
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Tue Apr 20, 2004 4:51 pm

Well shoot. That is damn thoughtful of ya. 8)

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

Post by ml2517 » Tue Apr 20, 2004 5:45 pm

Ugh ok never mind my other post. This confirmed it. All of those parenthesis are going to put my macros over the 60k post limit ehhe. Hmm..

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 » Tue Apr 20, 2004 5:56 pm

I dont think a set of () per /newif is going to put your posts over the limit.. all this is saying is you have to do this:

/newif (1 && 2)

not
/newif (1) && (2)
or
/newif ((1)&&(2))

just an enclosing set of parentheses and any parentheses you decide to add
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

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

Post by ml2517 » Tue Apr 20, 2004 6:19 pm

Actually it probably will because both are borderline 60k. No biggy I'm just giving you shit heh.