Reply To: Randomization mixes the sentences in the csv file

PennController for IBEX Forums Support Randomization mixes the sentences in the csv file Reply To: Randomization mixes the sentences in the csv file

#8046
Jeremy
Keymaster

Have you identified that the problem only occurs when you use a single csv file, but that it doesn’t occur when you use 3 csv files?

If you think having the table in main.js would help, you could use AddTable after ResetPrefix:

PennController.ResetPrefix(null)

AddTable("myTable", `column1,column2,column3
cell1row1,cell2row1,cell3row1
cell1row2,cell2row2,cell3row2`)

Replace "myTable" with whatever name you want to use, and make sure you also reference that name as the first argument of your Template command. Note that spacing and linebreaks matter between the two ` characters in AddTable, so follow the same format as above

Jeremy