Page 1 of 1

command to place my zone name?

Posted: Sun Jul 18, 2004 3:30 am
by CaM3Lt0Sis
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.

Posted: Sun Jul 18, 2004 8:38 am
by s16z
${Zone} will give you the current zone name.

Posted: Sun Jul 18, 2004 3:11 pm
by Banannaboy

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.