The EVN segment always has the same format:
EVN|O01
All you need to do is set the constant field using the outbound script for Event Type Code like you did for the MSH constants.
To add the code to the EVN segment's outbound script:
EVN Segment Window
value="001"
Transformation in Real-Time