for example:

if not this and that then

elseif this and not that then

else

end

Normally you'd use tables if there are 1< elseifs, but you cant really use tables with logic gates and changing values. Anyone got any ideas?