View Single Post
  #6  
Old 04-24-2015, 09:16 AM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

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.
Reply With Quote