Yeah, you’d just have to add something like this:
now first output is the output entry corresponding to a number of first number in the Table of Stuff;
now second output is the output entry corresponding to a number of second number in the Table of Stuff.
There are lots of other ways to do it, too. If you’re only going to do this once, so it doesn’t matter whether the Table of Stuff gets defaced, you could do something like this:
choose a random row in the table of stuff;
now the first output is the output entry; [note that this means "output entry in the row we've just chosen"]
blank out the whole row;
choose a random row in the table of stuff;
now the second output is the output entry.
You’d have to make sure that you don’t wind up with a completely blank table before choosing a random row, though!
If the Table of Stuff is a little less defaceable you could do this:
Sort the Table of Stuff in random order;
now first output is the output in row 1 of the Table of Stuff;
now second output is the output in row 2 of the Table of Stuff.
This will shuffle the order of the Table of Stuff but will leave all the rows intact.
If the Table of Stuff needs to stay in the same order you could adapt the original solution:
choose a random row in the Table of Stuff;
now the first output is the output entry;
choose a random row in the Table of Stuff;
now the second output is the output entry;
while the second output is the first output:
choose a random row in the Table of Stuff;
now the second output is the output entry;
I’m not absolutely positive about this because checking whether two strings are the same can get wonky in Inform. Again, you need to make sure there are at least two rows or you’ll get an infinite loop.
In general there are lots of fun things you can do with tables–chapter 16 of the documentation is worth looking through. Also note that for most of these solutions I didn’t use the number column of the table. If you have a table you can choose random rows or look at row 1/row 2/etc. even if the table doesn’t have a column that’s labeled with a number, though the number could be useful if you’re using the random-sort method and you want to restore the original order, since you can just sort the table in number order.