Basically, I would like to have: if (this happens) do this OR if (this happens) do this, all within an else. But this doesn't work. So...
Is it "legal" to do:
if (this happens) {
----if
-------if
------------if
------------else
--------else
----else
}
elseif (if this happens) {
----if
-------if
------------if
------------else
--------else
----else
}
else (this happens) {
----if
-------if
------------if
------------else
--------else
----else
}

ps. sorry for the lack of typical indentation, instead I used hyphens.
Is there a better way to do this?
Any answers appreciated, thanks!