@macromeh I’m not going to call you wrong (because most versions are equally valid), but I heard it as:
When in trouble, when in doubt,
run in circles, scream and shout.
That was from The Girl from Tomorrow (an Australian show from the 90’s).
But doing a quick search online, it’s certainly not unique to that one show. That’s just the only place I’ve heard it, until today.