Thank you ghanja!!
I had replaced the $userid with $client and that was when I had gotten that error. What i had not done was replace every line of $npc->CastSpell with $npc->SpellFinished
Thank you again for your help - it works just the way I want it to!
|