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
  #4  
Old 02-15-2022, 10:26 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Quote:
Originally Posted by markusdabrave View Post
Can anyone use # commands or do I need to somehow specify an accesslevel?
Just add code to restrict it to a certain Status which is a variable exported to client scripts

Code:
if ($status >= 200) { #CUSTOM GM ONLY COMMANDS
	if ($text=~/#cooldowns/i) {
		$client->ResetAllCastbarCooldowns();
		$client->Message(13, "ResetAllCastbarCooldowns!");
	} elsif ($text=~/#randomstuff/i) {
		#Do more things ect.. ect..
	}
}
If you need an API reference just use spire.

http://spire.akkadius.com/quest-api-explorer
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 05:52 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