View Single Post
  #7  
Old 03-14-2005, 10:33 AM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default 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");
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com