Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-10-2018, 04:47 AM
The_Beast's Avatar
The_Beast
Discordant
 
Join Date: May 2016
Location: Under a rock
Posts: 290
Default

If you want to add a click effect to an item, create a script in quests/global/items folder. Whatever name you give the script,
that name has to go into the scriptfileid in the items table, for that item. Is this kind of along the lines of your goals ?
EXAMPLE: (This is from an actual halloween script called script_30068.pl)
Code:
sub EVENT_ITEM_CLICK {
	if($itemid == 54706){
		quest::playerrace(340);
		quest::playergender(1);
	} 
}
The item ID in the items table is 54706. The scriptfileid is 30068
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 01:26 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3