Quote:
Originally Posted by jimbox114
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Hello $name, are you interested in haveing your [spells] scribed?");}
if ($text=~ /spells/i){quest::say("You have come to the right person, however I need you to do me a small favor. I do not like those thieves that have been hanging around the sewers. You do know where I am talking about right? It is the ones to the left of the gates of Freeport which lead you to North Freeport. Anyways bring me one of there daggers and I will teach you all the spells that a $class can use.");}
}
sub EVENT_ITEM
{
if ($itemcount{1451} == 1){quest::say("Thank you for your troubles $name. As promised here is your spells.");
quest::scribespells(65);
quest::exp(25);}
}
|
hmm. very strange. i don't see anything wrong. except for some mispellings. Which you might want to work out before putting this on a live server =)
Code:
if ($text=~ /Hail/i){quest::say("Hello $name, are you interested in haveing your [spells] scribed?");}
haveing = having
Code:
Anyways bring me one of there daggers and I will teach you all the spells that a $class can use.
there = their
Code:
As promised here is your spells.
here *are your spells.
But as far as the scribespells() command. passing a lvl through it won't do anything according to what Cofruben said. It simply scribes all spells for whatever level you are. So if you are lvl 5 and use it. youll have all spells up to lvl 5. ... not to 65. This is what cofruben seems to have said a few posts up. Never used it myself.