posted 01-13-14 01:08 AM EDT (US)   
If we're still talking about script-based quests, you can do whatever events allow you to do. Just study the lists of triggers and actions and get creative =) As for giving spell to a player, PawelS has already told you how to do it through events.