Ahh, I forgot about the GetActionRef issue. Well, that complicates issues a bit. I just tried using a GameMode block in the script also to no avail:
scn BlarneyInfiltrationAmuletObjectScript
Short AAWearing
Ref Wearer
Begin OnEquip
Set Wearer to GetSelf
Set AAWearing to 1
End
Begin GameMode
If AAWearing == 1
Wearer.SetFactionRank BlarneyFaction, 0
ElseIf AAWearing == 0
Wearer.SetFactionRank BlarneyFaction, -1
EndIf
End
Begin OnUnEquip
Set AAWearing to 0
End
Again, I get no error messages when saving the script, but I also get no results in game. Is there any way to actually set this up so it's non actor-specific?