Conditionals in Listeners

It would be fantastic to be able to set conditionals within Listeners themselves.

For example -

EVENT = CLICK

If {{ Hamburger == True }}
Set {{ BBQSauce }} to {{ 1 }}
Else
Set {{ Ketchup }} to {{ 1 }}

This would greatly simplify things when creating intricate buttons/control schemes