[CBIS 112] Repetition Structures
Channel: Iris Kohler
Date: 2023-02-22

Me.Say("Knock knock!")
Me.WaitForResponse(Friend, "Who's there?")
repeat
  Me.Say("Banana!")
  Me.WaitForResponse(Friend, "Banana who?")
  Me.Say("Knock knock!")
  Me.WaitForResponse(Friend, "Who's there?")
end repeat until Friend.IsAnnoyed
Me.Say("Orange!")
Me.WaitForResponse(Friend, "Orange who?".TrimSwearing)
Me.Say("Orange you glad I didn't say banana?")