How can i remember a choice in a previous episode?

After you type “gain” you need to type a condition. A condition is just something to remember the choice. So you could type
Gain listen

So when you use that choice later on, you would use
if (listen) {

}