Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Thread Tools Display Modes
Old 10-31-2019, 05:57 PM
Fire Beetle
Join Date: Apr 2017
Posts: 3
Default Script to list Hotzones and port to when clicked

Hi fellas, i'm working on a portion of my global\player.pl and am stuck.

The goal is to use this to list hotzones (which works), and the saylinks that list should be clickable to go to that zone. I have tried what I know, but cannot get it to do what I ask. Here is the working script to list hotzones:

	#Hotzones Menu
	if($text=~/Current Hotzones/i) {
		$client->Message(18,"-------- Current Hotzones ---- ");
		my $connect = plugin::LoadMysql();
		my $found_zone = 0;
        my $sql_query = "SELECT short_name FROM zone WHERE hotzone=1";
		my $sql_handler = $connect->prepare($sql_query);
		while (@zone_row = $sql_handler->fetchrow_array()) {
    		$hotzone = quest::saylink("$zone_row[0]", 1);
			$client->Message(13, "$hotzone");
If this runs, it displays a list of zone shortnames, but clicking does nothing.

Any assistance is greatly appreciated.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 11:15 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
Powered by vBulletin®, Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3