//RWT-OEI 03/11/08
//Add a row to a listbox on a client's GUI
// oPlayer - Player Object to send the new row to
// sScreenName - Name of the screen that contains the listbox
// sListBox - Name of the listbox to add the row to
// sRowName - Name to give the new row
// sTextFields - List of text fields and text values to populate the row
// sTextures - List of texture objects and texture names to populate the row
// sVariables - List of variable indexes and variable values
// sHideUnHide - List of objects to hide or set unhidden
//The syntax for the text fields, textures, variables, and hide/unhide list is:
//<name of UI Object>=<value>, except in the case of variables where it is <index>=<value>
//Multiple entries are seperated by ; marks.
//And in order to affect the root level of the row itself, simply make an entry that starts with the = sign.
//For example, for setting text field contents, some options might be:
//	sTextFields = "textfield1=Row One Text1;textfield2=Row One Text2";//This will make it so the text field named 'textfield1'
//                will say 'Row One Text1' and the text field in that row named 'textfield2' will say 'Row One Text2'.
//  sTextFields = "=Row Text" will make the row itself (assuming it can display text) say 'Row Text'.
void AddListBoxRow( object oPlayer, string sScreenName, string sListBox, string sRowName, string sTextFields, 
                    string sTextures, string sVariables, string sHideUnhide );
  • Added in Patch 1.13

Clarification: Syntax for seperating text fields in the sTextFields variable should be done as follows: sText1 + ";" + sText2. (Source: GrinningFool)