You would just use the “if” for the gain and the “else” for no gain
if (gain) {
} else {
}
More about the if/elif/else code and gains here: HOW TO: Remember Past Choices (if/elif/else)
You would just use the “if” for the gain and the “else” for no gain
if (gain) {
} else {
}
More about the if/elif/else code and gains here: HOW TO: Remember Past Choices (if/elif/else)