Ok this works but I need to polish the quest a bit since it returns the following after everything you say to the npc even hails. But I just wanted to see if the item summon funtion works before I ironed out the details and it does.
Code:
#############
#Written By : Cubber
#Quest Name: #summonitem proxy
#Quest Zone: Cshome
#Quest NPC: Krakskull
#################
sub EVENT_SAY
{
if($text=~/Hail/i)
{
quest::say("Hello there $name, Need some [items summoned]?");
}
if ($text=~/items summoned/i)
{
quest::say("In order for me to summon an item for you I need to know it's ID number. Please do a #itemsearch itemname and just tell me the number next to the item.");
}
if ($text=~/\d{0,9}/)
{
quest::summonitem("$text");
}
}
This successfully summons the item into your players cursor.
Thanks for the help pfyon!