Magoth78
11-07-2004, 05:16 AM
hello,
I've got a problem with scribespells on my server. The script if working fine on 0.6.0DR1 but not with the latest cvs releases.
Here is the script:
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Hello, I will scribe yours 20 first [spells] for free. To get the next ones, you will have to pay. You can only scribes spells of your level.");}
if ($text=~ /spells/i){quest::say("Scribing...");
quest::scribespells(20);}
}
Here is the error when someone says 'spells':
[Status] Script error: qst78::EVENT_SAY - Perl runtime error: Usage: scribespell
s() at (eval 249) line 5.
I've got a problem with scribespells on my server. The script if working fine on 0.6.0DR1 but not with the latest cvs releases.
Here is the script:
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Hello, I will scribe yours 20 first [spells] for free. To get the next ones, you will have to pay. You can only scribes spells of your level.");}
if ($text=~ /spells/i){quest::say("Scribing...");
quest::scribespells(20);}
}
Here is the error when someone says 'spells':
[Status] Script error: qst78::EVENT_SAY - Perl runtime error: Usage: scribespell
s() at (eval 249) line 5.