yay! another RPG'er (or at least you want to make a game with RPG aspects anyways, lol)
unfortunately, this is the most complex type of game too, lots of complex coding, laughs.
----------------------
basically, you put~add~set your desired rooms (or whatever Objects or Text) in an Objectlist Attribute (Objects as your list's items) or a Stringlist Attribute (Text as your list's items), (maybe) iterate through those items, and use at least one of the 4 Randomization Functions to select one of them.
this involves using lists and~or dictionary Attributes, which is difficult if you're new to quest and~or especially to coding, but if you're interested:
http://docs.textadventures.co.uk/quest/ ... lists.html (using lists guide)
http://docs.textadventures.co.uk/quest/ ... aries.html (using dictionaries guide)
and this isn't quite what I think you want, and it's a bit more advanced, but if you want to try to study it, here it is:
viewtopic.php?f=18&t=5138 (HK's, mine lol, "Explore" and "Travel" code: aka NOT using Exits to travel)
The 4 Randomization Functions:
http://docs.textadventures.co.uk/quest/ ... eroll.html (DiceRoll)
http://docs.textadventures.co.uk/quest/ ... omint.html (GetRandomInt)
http://docs.textadventures.co.uk/quest/ ... ouble.html (GetRandomDouble)
http://docs.textadventures.co.uk/quest/ ... hance.html (RandomChance)
-------------
here's a quick example of it (using code as it's quick ~ if you can't work with code, my apologies, but doing a step by step through using the GUI~Editor is a pain and isn't quick, laughs), involving just moving you to that room (we can get into doing other stuff instead, just let me know what specifically):
http://docs.textadventures.co.uk/quest/ ... arent.html (this is the same as the 'MoveObject ()' Function in the GUI~Editor's Script choices)
http://docs.textadventures.co.uk/quest/ ... split.html (the 'Split' Function is a quick way to create a List Attribute)
room_list = split ("room_1; room_2; room_3; room_4; room_5", ";")
random_selection = GetRandomInt (0, ListCount (room_list) - 1)
player.parent = StringListItem (room_list, random_selection)
and say you want to then display the description of that randomly selected room (instead of moving to it):
(hopefully this works, lol)
room_list = split ("room_1; room_2; room_3; room_4; room_5", ";")
random_selection = GetRandomInt (0, ListCount (room_list) - 1)
selected_room = StringListItem (room_list, random_selection
do (GetObject (selected_room), "description")
involving, "loot~drop~treasure chest~class", is similar but involves a bit more code work, and depending on whether you have a single specific "drop" or you want that "drop" to be a randomly selected item, as well.