Implement conditional execution in Scenario

I'll probably never use this functionality, but oh well, at least I know
it's possible now!  Woe betide anyone who tries to decipher this mess
though...