I have 6 conditions:
condition1 = ...
condition2 = ...
Then if 4 of them are fullfilled, I will execute some command. How to do this?
E.g.:
if condition 1 == condition 2 == condition3 == condition4 == true then ...
elseif condition 1 == condition 2 == condition3 == condition5 == true then ...
elseif condition 1 == condition 2 == condition3 == condition6 == true then ...
elseif condition 1 == condition 2 == condition4 == condition5 == true then ...
elseif condition 1 == condition 2 == condition4 == condition6 == true then ...
elseif condition 1 == condition 3 == condition4 == condition5 == true then ...
elseif condition 1 == condition 3 == condition4 == condition6 == true then ...
...
...
...
Aucun commentaire:
Enregistrer un commentaire