Code:
in command.cpp
add with the other commands at the top
command_add("peqzone","[zonename] [x] [y] [z] - Go to specified zone (coords optional)",10,command_zone) ||
in command.h
add with the simular ones.
void command_peqzone(Client *c, const Seperator *sep);
}
[/QUOTE]
Wouldn't this just be an alias for #zone? I was looking for one that acted more like peqzone did; will only zone you to working, populated zones, and only if you're at 75% health or more.
I tried the codes posted by sdabbs65, but they won't compile for me.