EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Spellscriber/Disctrainer (https://www.eqemulator.org/forums/showthread.php?t=27032)

talra 12-19-2008 01:27 AM

Spellscriber/Disctrainer
 
so i am using George's tools to make a spellscriber and i found the function for training discs on the forums also but my script doesnt seem to work. any advice would be very useful as i am new to perl scripting.

Code:

sub EVENT_SAY
{
 {
if ($text =~/hail/i){  quest::say ("Good day to you, $name. Do you want me to teach you [spells] or [disc]."); }
}

if($text =~/spells/i)
{
 quest::say ("Good, stand where you are while I cast");
 quest::scribespells();
}
if($text =~/disc/i)
{
 quest::say ("Good, stand where you are while I cast");
 quest::traindiscs();
}

}


talra 12-19-2008 04:24 AM

figured it out. had to put quest::scribespells($ulevel);


All times are GMT -4. The time now is 07:17 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.