Multiple IF ladder

It would be great if there will be a possibility for defining multiple output in IF statement, something like current IF, but connecting outputs from separate conditions to different outputs, now to make something like this I need use multiple IF blocks:

BLOCK1:
  if ($a=="A") 
    -> True - continue process
    -> False - go to BLOCK2

BLOCK2:
  id ($a=="B")
    -> True - continue process
    -> False - go to BLOCK3

It sounds like you want to do something like this?