Help with if/elif/else code

Oh, yeah sorry I used gains/flags. That was the second option in Dara’s guide.