If you like that one you will love this one.
I wrote this one so I could give some players access to the #summonitem command without actually giving them any elevated privileges on the server. Most of these quests I am writing are there to reduce my gm workload on the server.
I call this one #summonitem proxy
I put it on the big skeleton guy in Cshome named Krakskull. You can put it on any NPC you want. Basically it just allows a player to tell the NPC an item ID number that they get when they look up the item with #itemsearch. Then they just say the number to him and he summons the item to thier cursor.
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]?");
}
elsif ($text=~/items summoned/i)
{
quest::say("$race, I have been gifted with the ability to summon any item or spell in this world for you. However, I am not a mind reader, and in order for me to summon anything for you I need to know it's ID number. Please use the command: #itemsearch insert_itemname_here , and just tell me the number next to the item you desire.");
}
elsif ($text=~/\d{0,9}/)
{
quest::emote("Krakskull begins to chant...");
quest::summonitem("$text");
quest::emote("The item you seek apears before your eyes!");
}
}
more info on this script
here