<snippet>
    <description>if elseif</description>
    <content><![CDATA[if (${1:/* IF condition */}) then {
    ${2: /* Your code */}
} else {
	if (${3:/* ELSEIF condition */}) then {
	    ${4: /* Your code */}
	};
};
]]></content>
    <tabTrigger>if else</tabTrigger>
    <scope>source.sqf</scope>
</snippet>