Message when entering a zone
I keep looking, but I can't find a place where you can set a message for each zone when a toon enters the zone, i.e. "Welcome to Unrest. Making trains here will get you banned!"
And while I am at it here, I also can't find where to set a maximum level for a zone. The zone table has min_level, but no max_level, and I can't find it anywhere else. Anyone know? Thanks. |
This wiki page should help:
http://www.eqemulator.net/wiki/wikka...rQuestExamples You will want to create a player.pl file in the zone folder you want the message to happen in. Then, just add an EVENT_ENTERZONE to that file and have it send the message to the player using Message(). There is no max level allowed for zoning in, but you can just check their level and port them back out if they are too high. Here is a simple example: Code:
sub EVENT_ENTERZONE { |
Thank you Trevius, I have always found your posts very helpful and respectful, and I appreciate both.
|
All times are GMT -4. The time now is 09:22 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.