command to place my zone name?

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

CaM3Lt0Sis
orc pawn
orc pawn
Posts: 26
Joined: Thu Jul 03, 2003 10:33 am

command to place my zone name?

Post by CaM3Lt0Sis » Sun Jul 18, 2004 3:30 am

Ok ok got a bit of a weird request here. I play EQEmu on a server that allows the use of the #zone command.

I wanna add a real easy command to my aliases, or make a small simple macro, that takes my target, gets its loc, takes my zone info, and ports me to this mob. This will make it easy to /target named's and then port to them.

I know the framework of what I have to do, basically it needs to /who me in some form to get my zone name, get the loc of my target in X,Y,Z format and place it such as this #zone <myzone> Y,X,Z (yes they're out of order)

i know this much ${Target.X}, ${Target.Y}, ${Target.Z} to get the locs, but what would be the easy way to get my own zone name?

i imagine the alias would be something like...

/port=#zone <my-zone-command> ${Target.Y}, ${Target.X}, ${Target.Z}

i've skimmed the manual but it hasn't helped me much, anyone know if theres an easy or complex solution to this? Thanks a ton in advance.

s16z
a ghoul
a ghoul
Posts: 97
Joined: Thu Apr 01, 2004 12:03 pm

Post by s16z » Sun Jul 18, 2004 8:38 am

${Zone} will give you the current zone name.

Banannaboy
a lesser mummy
a lesser mummy
Posts: 43
Joined: Tue Apr 13, 2004 9:59 pm

Post by Banannaboy » Sun Jul 18, 2004 3:11 pm

Code: Select all

/alias /port /mac port

Code: Select all

Port.mac
/echo Porting to your target.
#zone ${Zone} ${Target.Y},${Target.X},${Target.Y}
/endmacro
Then all you do is /port and it will port you to your target.