Doh, you're right. -_- My apologies, I've been debugging code (in PHP and your syntax highlighting may have confused me ... let's just say it did :p) since noon CST today. *facepalm*
He could have meant to check if they're not nil, as well. Honestly, that entire block is contradictory.
It could be one of two things, then:
if (!isNil "_msslcount" and !isNil "_mraamcount" and !isNil "_gbucount") then
{
// Init
_msslcount = _plane getVariable "Msslcount";
_mraamcount = _plane getVariable "MraamCount";
_gbucount = _plane getVariable "GBUCount";
_mcount = 0;
_m2count = 0;
};
Or
if (isNil "_msslcount" and isNil "_mraamcount" and isNil "_gbucount") then
{
// Init
_msslcount = 62;
_mraamcount = 24;
_gbucount = 20;
_mcount = 0;
_m2count = 0;
// Set
_plane setVariable ["Msslcount", _msslcount, true];
_plane setVariable ["MraamCount", _mraamcount, true];
_plane setVariable ["GBUCount", _gbucount, true];
};
So, firewill, what exactly are you trying to do at that code block?