few questions

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

kabl2k
a hill giant
a hill giant
Posts: 168
Joined: Fri Feb 20, 2004 6:25 pm

few questions

Post by kabl2k » Wed Apr 21, 2004 10:03 pm

i think i've almost got my macro 100% converted but a few things are still evadeing me ive been searching my butt off...

1: in the reference for ${Spawn} it says ${Spawn[npc radius 500 trakanon] and it says uses the standard search strings.. do they not require a : anymore? like loc:@loc or radius:500?
/if (!${Spawn[pc radius 400]}) and /varset PullMobID ${Spawn[npc loc @Mob1].ID} or with :'s?


and 2: how can i check if a pack is opened my
/if $pack(6,open)==FALSE
i was lookin at ${invslot} but couldnt come up with anything

last one :3 im setting a snare timer and ive just converted the old one over
/varset SnareTimer ${Math.Calc[${Spell[SnareSpell].Duration}*10].Int}

is that correct for setting the timer?

thanx in advance.

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 10:12 pm

1: in the reference for ${Spawn} it says ${Spawn[npc radius 500 trakanon] and it says uses the standard search strings.. do they not require a : anymore? like loc:@loc or radius:500?
/if (!${Spawn[pc radius 400]}) and /varset PullMobID ${Spawn[npc loc @Mob1].ID} or with :'s?
$searchspawn wasnt exactly "standard", the standard comes from /target, /maphide, /highlight, etc. So yes no : but otherwise basically the same. Also instead of doing /if (!${Spawn[pc radius 400]}) which will end up:
/if (!Jobobtik) and give a parse error.. do
/if (!${Spawn[pc radius 400].ID})
and 2: how can i check if a pack is opened my
/if $pack(6,open)==FALSE
i was lookin at ${invslot} but couldnt come up with anything
/if (${Window[pack6].Open}==FALSE) or /if (!${Window[pack6].Open})
last one :3 im setting a snare timer and ive just converted the old one over
/varset SnareTimer ${Math.Calc[${Spell[SnareSpell].Duration}*10].Int}
Looks right to me, depending on what the timer is supposed to end up ;)
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 » Wed Apr 21, 2004 10:26 pm

Only thing you forgot in the last one was .Seconds

Code: Select all

/varset SnareTimer ${Math.Calc[${Spell[SnareSpell].Duration.Seconds}*10].Int}

kabl2k
a hill giant
a hill giant
Posts: 168
Joined: Fri Feb 20, 2004 6:25 pm

Post by kabl2k » Wed Apr 21, 2004 10:39 pm

shit you guys rock that was a super fast responce and im gratefull for the help!