quest::givecash
quest::givecash
Explaination: Gives the player money based on whatever denominations you choose.
Full Command: quest::givecash(c,s,g,p)
c = the amount of copper to give the player.
s = the amount of silver to give the player.
g = the amount of gold to give the player.
p = the amount of platinum to give the player.
Example:
# The NPC give the player 1 of each coin for hailing him.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::givecash(1,1,1,1);
# If this does not work for you try this
|