quest::summonitem
quest::summonitem
Explaination: Summons an item for the player who triggers the event.
Full Command: quest::summonitem(itemid,amount or charges)
Itemid = The items ID number from your database.
Charges or Amount = Sets the amount of the item given to the player, or if the item can have a certain amount of charges set on it, it will set charges instead of amount of the item given.
Example:
# Gives the player one instance of the item indicated after being hailed.
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::summonitem("5120");
}
}
|