home *** CD-ROM | disk | FTP | other *** search
- /* */
- parse upper arg number
-
- prevdir = pragma('directory', 'avmrexx:')
- call open('configfile', 'avm:player.cfg', 'r')
- foundServer = 0
- do while ~eof('configfile')
- line = readln('configfile')
- parse upper var line variable '=' value
- if variable = 'SERVER' then do
- address rexx 'usebracket.avm' value 'secretary.avm' value number
- foundServer = 1
- end
- end
-
- call close('configfile')
-
- if ~foundServer then say "Couldn't find a server in avm:player.cfg"
- call pragma('directory', prevdir)
-