# Tables on StickIt pages

In version 8.4 the ability to add tables to stickit pages will be introduced.

This gives the user the ability to group related tables (such as random character maker tables or plot tables) in one stickit page, greatly easing the organization and maintenance of random systems.

In addition tables can now reference other tables directly through a LOOKUP function.

**LOOKUP**

Here’s some examples:

*lookup(archetype1|archetype2, Protector, archetyperelations, clash|mesh)*

This would look for the value ‘Protector’ in either the columns named *archetype1 *or *archetype2*. If found it would return the values in the *clash *and *mesh *columns.

*lookup(roll, *, two, result)*

Because of the asterix as a lookup value this will return ALL rows in the table two (specifically the result column).

If more than one column is asked to be returned column labels will be supplied in the output. If only one column is asked for there is no column label.

*If instead you want to CONSIDER all values but only return one then add an additional parameter ! at the end as in lookup(archetype1,*, archetyperelations,clash, !)*

LINEAR TABLES

If you have a series of steps that you want to randomize then you can turn a table into a lookup table. YourOtherMind will go linearly down the table, spitting out the Result column (or doing a lookup) at each step until it hits a valid nexttable entry, which it uses to jump to another table, or the end).

– To define a linear table enter a -1 in the Roll columns of the First Row.

– The nexttable column for each row needs to be a minus sign followed by the row number (so on the 0th row, the nexttable field would be a -1)