Thread: Return Plat
View Single Post
  #1  
Old 10-13-2009, 10:57 PM
reddogut
Sarnak
 
Join Date: Jun 2007
Posts: 83
Default Return Plat

Can an NPC return plat? For example, when I give the following NPC 10 platinum, but I don't meet the "Ranger" or >=20, he tells me that he is sorry and that he can't help me, but he doesn't give me back my money.

Code:
sub EVENT_ITEM
{
	if($platinum == 10)
	{
		if ($class eq "Ranger" && $ulevel >= 20)
		{
		quest::say ("Good, stand still while I perform this task.");
		quest::scribespells(20);
		}
		else
		{
		quest::say ("I am sorry $name, I can't help you.");
		}
	}
}
__________________
-Red Dog
My Windows Server install guide - http://www.eqemulator.net/wiki/wikka.php?wakka=Windows
My guide for configuring a solo-able server - http://www.eqemulator.net/wiki/wikka.php?wakka=How
Reply With Quote