Database Names

Databases have both a long text name, plus a filename for storing the database on disk. To refer to a database from the command line, you must use the first few unique characters of the filename. zMUD is designed for database filenames whose first two characters are unique. This two-character code is used throughout the scripting language to refer to the database. For example, you could have a database with a long name of "Equipment Database", and a filename of "equip.db". The two-character database code for this would be "eq". No other database should have a filename that starts with "eq". Make sure each database file starts with different characters.



Contents Programming the Database Opening and closing Databases