I7: Random Move

Under Inform 7, is there an easy way to have NPCs chose a random exit? I did it as spaghetti code under Inform 6 and probably could do the same under I7 as well, but yet I hope there’s an easy solution to that.

See chapter 7.13 in the recipe book, especially example 77.

Easy indeed. Thanks!