title: IF-ELSE with multiple IFs
body: <p>I'm trying to do a multiple check of some values but I can't get it to work. </p>
  
  <pre><code>if DerobModel.HouseProperties.IntValue['VolumeNorth'] = 1 then
      ivol[2] := 1;
    else
    if DerobModel.HouseProperties.IntValue['VolumeEast'] = 1 then
      ivol[2] := 1;
    end
    else
    if DerobModel.HouseProperties.IntValue['VolumeWest'] = 1 then
    ivol[2]:=1;
  
    end;
  </code></pre>
  
  <p>I want to check if "VolumeNorth" is 1, and then the index ivol[2] is going to be 1, otherwise if East is 1 ivol[2] should be 1, and if this isn't there's a check for West and also so for South (This isn't in the code yet). If none of them are 1 then nothing should happen with ivol[2]. How do I get this to work?</p>
  
  <p>Thanks!</p>