/*
**
** requestlist.thor - 	Will pop up a listview in THOR which let the user
**						select a bbs or conference.  Will return 10 if 
**						the user close the window or presses ESC in the 
**						window.
**						The bbs/conf name will be returned in result so
**						"options results" is needed in the script.
**
**	Template:
**
**	BBSLIST/S,CONFLIST/S,BBSNAME=BBS
*/

options results

address THOR.01

/* Let's pop THOR to front first.. */

THORTOFRONT

/* Let's get the BBS first */

REQUESTLIST BBSLIST

say result

/* Then select a conference from the previous selected BBS 
** (note the creative quoting needed)
*/

REQUESTLIST CONFLIST BBSNAME '"'result'"'

say result

