you can use the TEXT object just like a string array.
check the manual for text.strings, it says that if the text contains more than one string, individual strings can be accessed through a [] index suffix, just like variable arrays.
so, this way, you could even make an invisible text object just to hold all the strings, or you could use the same text panel to store and show the strings, using txt_setvisible() and txt_setinvisible().

obs.: i never tried this, i'm just repeating what i saw in the manual... so, if doesn't work, don't blame me