Hmm...
You mean like this?:
class EventHandlers: ECP_EventHandlers
{
Init="[_this select 0, 1] exec ""\xxx_infantry\scripts\xxx_init.sqs""; if (format[{%1},count ECP_addUnitsArray] == {scalar}) then {ECP_addUnitsArray = []}; ECP_addUnitsArray = ECP_addUnitsArray + [_this select 0]; _this call ECP_EH_handler_init; _this select 0 exec ""\xxx_infantry\scripts\unit_swimscript.sqs""";
fired = "if ( (_this select 1 in [{Throw},{JAM_AT4Launcher},{JAM_RPG7Launcher},{JAM_M72LAWLauncher}]) or (_this select 4 in [{JAM_MarkerGrenadeammo}]) ) then {_this exec {\JAM_Magazines\FX\firedEH.sqs}}; _this call ECP_EH_handler_fired;"
};
You may need to use [_this select 0] exec blah blah instead, depending on how the script is written...