View Single Post
  #1  
Old 11-07-2004, 05:16 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default 0.6.0DR2 PERL Scribespells issues

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:
Code:
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':
Code:
[Status] Script error: qst78::EVENT_SAY - Perl runtime error: Usage: scribespell
s() at (eval 249) line 5.
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
Reply With Quote