Hi! I was trying to print something when I move between rooms, the following code that seemed intuitively to be what I’d want to do doesn’t do that, it has very strange behavior where it prints at the wrong times and too many times. What is the right way to do this?
#you
(current player *)
(intro)
(banner)
(enter #room1)
#room1
(room *)
(singleton *)
(name *) Room1
(look *) You are in Room1.
(from * go #north to #room2)
You go north to Room2.
#room2
(room *)
(singleton *)
(name *) Room2
(look *) You are in Room2.
(from * go #south to #room1)
You go south to Room1.