Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 04-24-2015, 10:58 AM
dagulus2
Hill Giant
 
Join Date: Feb 2013
Posts: 220
Default

Quote:
Originally Posted by ghanja View Post
Ok, make a statless item, non-book (as I assume you made it a book before) and try:

Code:
sub EVENT_ITEM_CLICK {
	$client->Message(13, "You have clicked this item!");
	if ($itemid == 97749) {
		my $booktext = "Blah blah blah";
		$client->ReadBook($booktext, 1);
		$client->LearnRecipe(11238); #Testing /This is probably not the right recipe id for this item
		$client->Message(13, "You should have learnt recipe 11238.");
	}
}
I'm still not in a testing environment atm else I would, sorry bud.
Ok, an item with itemstype 0 and clickeffect 12484 and the above script works. Thanks for your help!
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 06:00 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