/newif help

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

Moderator: MacroQuest Developers

dubborama
decaying skeleton
decaying skeleton
Posts: 6
Joined: Wed Apr 21, 2004 5:08 pm

/newif help

Post by dubborama » Wed Apr 21, 2004 8:19 pm

Can anyone tell me if my syntax for this is right/wrong...seems to not be working.

/newif ${String[@vArcheryToggle].Equal[True]}==1 {

(This macro it came from was working before the latest April 21st zip now it wont run)

Dubborama

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

Post by ml2517 » Wed Apr 21, 2004 8:25 pm

Umm assuming that variable would only have 0 or 1.

/if (@vArcheryToggle==1) {

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 » Wed Apr 21, 2004 8:27 pm

if your variable only said "true" or "false" you could do that also
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0