Welcome to the OptoForums! What's probably tripping you up is how 0 = Enabled. Guessing you really want to do is write a 4 instead of a 0 in your OptoScript code.
Here's the relevant snippet from form 1465, our OptoMMP Protocol Guide:
Event 0: Event state:
0 = event is enabled but not occurring now
1 = event is occurring
2 = event has occurred and reaction has not been sent (in delay period)
3 = event has occurred and reaction has been sent (applies only if bit 8
in F0D4 0044 is set to send the reaction just once)
4 = event is disabled
I realize that's a bit counter-intuitive, and I have a very vague recollection of why 0 was enabled (I think it had something to do with backward-comparability with the original Digital Events).
In any case, I have a little trick for figuring stuff out like this without having to use 1465 (just PAC Manager), but I'll include that in another post.
Can you share a little about what you're doing there? Interesting that you have a combination of OptoScript and Event - Reactions/Alarms. I'm guessing you have something a bit time-critical, or your adding a controller to a system which was already using brains with these features configured? Just curious!