Check if booleans are true or false

I am trying to do a check if several booleans are true but I think I do something wrong here.Here is the code:

if (bool1==true) and if (bool2==true) and if(bool3==true) then
end

Maholm [import]uid: 5717 topic_id: 2540 reply_id: 302540[/import]

you only need the first “if”

if(bool1==true) and (bool2==true)… [import]uid: 6645 topic_id: 2540 reply_id: 7317[/import]