View Single Post
  #5  
Old 06-26-2007, 06:21 PM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

Here is a quest I made up for each class that gives the test server starter items on the test server when /testbuff command is used, this is the one for Shadowknights but you just need to replace the name and the item IDs for each other class, although this is not perfect as any class can hail any class and get the armor but it is unusable to them and unsellable, I tried to get it to only work for each class but no matter how I formatted it any class is still able to get the armor , anyway it works and if anyone would like to fix it up be my guest...to find the items for all other classes just do a database search for test.

Code:
sub EVENT_SAY{

if($text=~/Hail/i)
{
quest::say("Hello there $name, I am here to help all new Shadowknights to armor themselves , Are you a [Shadowknight]?");
}
if(($text=~/Shadowknight/i) && ($class == "Shadowknight"))
{
quest::say("Well then lets get started, What items are you in need of? [Armor] [Weapons] or [Accessories]?");
}
if(($text=~/Armor/i) && ($class == "Shadowknight"))
{
quest::say("Well then here is some Armor to get you started.");
quest::summonitem("38079");
quest::summonitem("38078");
quest::summonitem("38077");
quest::summonitem("38076");
quest::summonitem("38075");
quest::summonitem("38074");
quest::summonitem("38073");
quest::summonitem("38072");
quest::summonitem("38071");
quest::summonitem("38070");
quest::summonitem("38067");
quest::summonitem("38065");
}
if(($text=~/weapons/i) && ($class == "Shadowknight"))
{
quest::say("Great then, here is your weapons.");
quest::summonitem("38082");
quest::summonitem("38081");
quest::summonitem("38080");
}
if(($text=~/accessories/i) && ($class == "Shadowknight"))
{
quest::say("Ok then here you are $name. May this help you in your fight.");
quest::summonitem("38063");
quest::summonitem("38064");
quest::summonitem("38066");
quest::summonitem("38068");
quest::summonitem("38069");}
}
__________________
KhepriGames

Game Gallery

My Forums

Reply With Quote