View Single Post
  #5  
Old 01-25-2010, 06:45 PM
Tilar
Sarnak
 
Join Date: Oct 2009
Posts: 35
Default

I messed with this thing all weekend and finally got it. I did take out the "return 1" part, Also I couldnt get it to work using this format for the items,
Code:
	if((plugin::check_handin(\%itemcount, 1314 => 1)) ||
		(plugin::check_handin(\%itemcount, 3308 => 1)) ||
		(plugin::check_handin(\%itemcount, 2280 => 1)) ||
		(plugin::check_handin(\%itemcount, 1368 => 1)))
I used the following and it worked.

Code:
 if (plugin::check_handin(\%itemcount, 1314=>1, 3308=>1, 2280=>1, 1368=>1))
No idea why but I'm not going to question it. I read another post, here where someone was having a similar issue with a class specific rewards quest and I actually used part of what I had started, part of his final script and part of another one from POK and somehow it worked. This is definitely a learning curve for this old man.
Reply With Quote