This should be a simple one for you scripting vets. I'm trying some toy problems to learn the ropes of Skyrim modding but I've encountered an issue I didn't expect to.
I created a new object in the Creation Kit (a duplicate Gold Ring by another name). I know that this object exists and works as expected because I added it to my inventory by console command.
I have tried to attach the following simple script to the object:
Scriptname helloItem extends ObjectReference Event OnEquip() debug.messagebox("hello")EndEvent
For some reason, nothing happens when I equip the item in-game. Any ideas?