I think I have it now. I tested this quite a bit with 2 characters on a local lan. I had to shorten the ''Hail' text, so I just made up my own line.
I was getting wierd problems. I would turn in an item that I wasn't supposed to and got something totally different handed back to me. That turned out to be a bad plugin, the check_handin.pl file. I got mine from PEQ's Luclin Quest Pack. If your using that one, get it replaced. I included the one that is working for me, which came from the PEQ's Velious Quest Pack, in my zip file.
As before, you get the spells by a random choice. This is the way it is on live.
If you have the PoK NPC's installed, all you need to do is add these to your quests/poknowledge folder and either restart your server or issue a #reloadpl command while logged in.
Here's the updated file....
www.jtconsultants.com/emu/PoKQuests.zip