Does this exist or have i not quite grasped it yet.

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

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Does this exist or have i not quite grasped it yet.

Post by Fuergrissa » Wed Apr 21, 2004 6:26 am

Code: Select all

${Zone[${Me.Bound}]}
Would that display the zone i am currently bound in.
Sorry Lax if you read this and bang your head against the keyboard shouting "WHY OH WHY DO I FUCKING BOTHER" :)

Thanks in advance

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

Post by Preocts » Wed Apr 21, 2004 7:01 am

Code: Select all

 ${Me.Bound.Name} 
character
...zone Bound: The zone you are bound in

zone
...string Name: Full name like "Ocean of Tears"
...string ShortName: Short name like "oot"

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Re: Does this exist or have i not quite grasped it yet.

Post by wassup » Wed Apr 21, 2004 7:01 am

Fuergrissa wrote:

Code: Select all

${Zone[${Me.Bound}]}
Would that display the zone i am currently bound in.
Sorry Lax if you read this and bang your head against the keyboard shouting "WHY OH WHY DO I FUCKING BOTHER" :)

Thanks in advance
Almost... It's easy to forget to look at the return types (I'm guilty too).

Code: Select all

${Me.Bound}
will return the zone you are bound in.

Bound is of type zone... The To String of zone is the same as Name

Yes, Lax will bang his head on this one :)

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Wed Apr 21, 2004 7:10 am

Thank you, I do appreciate the help.

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 11:57 am

Technically yes that would work just fine ;)

But.. you're making a zone out of whats already a zone, so ${Me.Bound} is fine without the ${Zone[name]} part
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0