Yeah, tables are pretty gnarly in i7. If you’re just looking to have flags, Wade’s solution is right, but if you’re looking specifically for a starter syntax on Tables, this might help :
Garden is a room. "[example_function]"
Table of Example
Name Flag Output
"Berta" 1 "Test1"
"Jack" 0 "Test2"
"Bob" 1 "Test3"
"Cheryl" 0 "Test4"
To say example_function:
[To just set a Flag value for a specific name]
now Flag corresponding to a Name of "Berta" in the Table of Example is 0;
[To check a flag value]
if Flag corresponding to a Name of "Cheryl" in the Table of Example is 1:
say "Test.";
[A different way, if you wanted to use multiple columns]
choose row with a Name of "Berta" in the Table of Example;
if Flag entry is 1:
say "[Output entry].";
[or if you wanted to cycle through the table and print the output of every name with a flag of one, an easy way is]
Repeat through Table of Example:
if Flag entry is 1:
say "[Output entry].".
Hope that’s useful
Ade