First, make a new GUI.
Make a window.
Right-click the window.
Make a GuiScrollControl inside the window.
Right-click the scroll control after scaling it to your liking.
Create a new GuiTextListControl and name it.
In your script, do this:
function yourGUI::onWake(%this)
{
%list = listName;
%list.clear();
%list.addRow(0, "Row one.");
%list.addRow(1, "Row two.");
%list.addRow(2, "Row three.");
//etc.
}
To get whatever row is selected:
listName.getSelectedID()
To get the text inside the row that is selected:
listName.getValue()