View Full Version : Making NPC Scribe Spells
ajb20
08-13-2004, 03:29 AM
If someone could help please it would be greatly appreciated. I know it is out there I have played on 2 servers where the spell scriber worked and I would appreciate it very much if someone out there would be willing to share their knowledge with the rest of us. I know it requires some editing of the c++ scripts so if anyone could please pass on a how-to and what-to-do for editing the script to include the spellscribing ability in quests that would be perfect.
Thanks all!
sotonin
08-13-2004, 03:33 AM
you didn't even look for an answer did you.
there's a post on the first page of this forum called "scribespells"...
jimbox114
08-13-2004, 03:37 AM
I have yet to ever get my spellscriber to work, I even got a word for word script from Cofruben for it and it still don't work :/ She responds to hails and such, just don't scribe the spells.
sotonin
08-13-2004, 03:43 AM
=(
never tried it myself. ill give it a shot later tonight and see what happens
hypershadow66
08-13-2004, 06:56 AM
i have mine working heres the code if you want it
sub EVENT_SAY
{
if ($text=~/hail/i) { quest::say("Would you like ALL of your spells [scribe]d?"); }
if ($text=~/scribe/i) { quest::scribespells(65); }
}
and if you dont want it, then forget what i just posted =P
EDIT
Oh and be shore not to make the NPC's Name have Scribe in it
Cisyouc
08-13-2004, 07:00 AM
i have mine working heres the code if you want it
sub EVENT_SAY
{
if ($text=~/hail/i) { quest::say("Would you like ALL of your spells [scribe]d?"); }
if ($text=~/scribe/i) { quest::scribespells(65); }
}
and if you dont want it, then forget what i just posted =P
EDIT
Oh and be shore not to make the NPC's Name have Scribe in it
I believe the syntax is,
if($text=~/scribe/i){quest::scribespells();}
hypershadow66
08-13-2004, 07:31 AM
My guy didnt work when i had it like yours, cripp told me to change it to what i have now and now it works.
killspree
08-13-2004, 07:55 AM
Yeah you have to have a level value within quest::scribespells()
ajb20
08-13-2004, 03:16 PM
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("I am... Oh that's not important right now, would you care to have your spells [scribed]?");}
if ($text=~ /scribed/i){quest::scribespells($ulevel);}
}
and it does not work, does it have to be a level value? I know i've seen it work where it only scribes up to user level...
Cripp
08-13-2004, 04:30 PM
sub EVENT_SAY
{
if ($text=~/Hail/i) { quest::say("I am... Oh that's not important right now, would you care to have your spells [scribed]?"); }
if ($text=~/scribed/i) { quest::scribespells($ulevel); }
}
try this.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.