Hi —
So, if you want to leave a room by the right, you need a way of seeing a list of rooms with entrances on the left but which haven't already been used in your game?
Could you create some arrays - rooms with left entrances, rooms with right entrances etc. and then use the randomize function to select a particular qualifying room?