Go Back   EQEmulator Home > EQEmulator Forums > General > General::Server Discussion

General::Server Discussion Discussion about emulator servers.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 02-18-2022, 03:00 AM
krauser1
Fire Beetle
 
Join Date: Sep 2006
Posts: 8
Default use event_command not event_say in global_player.pl or .lua

Quote:
Originally Posted by markusdabrave View Post
Ok I'm feeling like a complete moron. I've #reloadquests and added the below code to my global_player.pl and it's still not working. I also enabled the error message suppressing suggested. What am I missing? Is # a special character?

Code:
# Hot Zone List - Lists Current Hotzones
sub EVENT_SAY {
        if ($text=~/#hotzone/i){
                $client->Message(315,'This is a test.');
        }
}

https://docs.eqemu.io/quest-api/events/#example_14

these examples are a working template for adding your own commands.
Reply With Quote
 


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 03:06 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3