what I have so far.
Scriptname AddSpellTest extends ObjectReference
{My first script with papyrus}
int count
Event OnActivate(ObjectReference akActionRef)
count = count + 1
if count == 1
Debug.MessageBox("The Altar fills you with strength!")
Game.GetPlayer().AddSpell(What Do I put here?)
endif
if count > 1
Debug.MessageBox("The Altar has gone quiet.")
endif
endEvent
I want to know how I can make the script work if this doesn't and also what to put in for the spell id