Skip to content

editDatabase

MicroBlaster edited this page Jan 8, 2023 · 8 revisions

Purpose: Modifies an existing database paramaters.

Syntax: editDatabase {option=value} ...

{Option}: The name of the option to be modified.
{value}: The value to be applied to the option.

ServerAddress - The name of the destination server.
ServerPort - The port of the destination server (default=2002).
ServerProtocal - The protocol of the destitution server (i.e. RLOGIN / Default = TELNET).
ListenPort - The port for clients to connect to (Default = 2300)
ServerProtocal - The protocol for client connections (always TELNET)
UseLoginScript - Boolean to enable login script (Default = False)
LoginScript - Name of the login script
LoginName - The name used to login to the TWGS.
Password' - The password used to login to the TWGS.
GameLetter - The gameletter to select from the main menu
IconFile - The icon file Name:Index to be displayed in the tray.

Notes: The name and sectors options can only be set by the createDatabase command. This command does not open the database. If modifying the current databaase, changes will not take effect until the next time the database is opened.

Example:

createDatabase "ClassicTW-GAmeA" 30000 "twgs.classictw.com" "LoginName=Micro" "Password=Meow" "GameLetter=A"
openDatabase "ClassicTW-GameA"
connect

createDatabase "ClassicTW-GameB" 30000
editDatabase "ClassicTW-GameB" "ServerAddress=twgs.classictw.com" "ServerPort=2002"
editDatabase "ClassicTW-GameB" "LoginName=Micro" "Password=Meow" "GameLetter=A"
openDatabase "ClassicTW-GameB"
connect

Clone this wiki locally