View Single Post
  #2  
Old 09-10-2009, 04:31 PM
Lillu
Hill Giant
 
Join Date: Sep 2008
Posts: 204
Default

Not sure if you meant this, but setting a qglobal in sub EVENT_ITEM is working the same way as in sub EVENT_SAY.

like:
Code:
sub EVENT_ITEM {
	if (plugin::check_handin(\%itemcount,itemID => 1)) {

		quest::summonitem(itemID);
		quest::setglobal("$globalname",3,5,"F");
		}
	else {
		$client->Message(6, "$npcname looks confused." );
		plugin::return_items(\%itemcount);
		}
}
__________________
Reply With Quote