i need help with this script that is supposed to be attached to trapped doors in morroblivion:
SCN 0AAMWTrapHeavyBurdenTouch
; Applied to things like chests and doors
Begin OnActivate
If IsActionRef Player
Cast 0heavySburdenStouch Player
Message "The door was trapped!"
Activate
Else
Activate
EndIf
EndIf
End
How can i rewrite this script so that it will only activate once, when opening the door
for the first time? And last but not least, be able to close the door again, without activating
the trap again.

Script
Try this: