Quote:
Originally Posted by hypershadow66
i have mine working heres the code if you want it
Code:
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,
Code:
if($text=~/scribe/i){quest::scribespells();}
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
|