sbbs/logon.js
2020-05-28 23:30:44 +10:00

19 lines
595 B
JavaScript

require("sbbsdefs.js", 'SS_RLOGIN');
//require("nodedefs.js", 'NODE_QUIET');
// To force all users to the ansitex shell
// @todo Make a ini config setting for this
user.command_shell = 'ansitex';
// Disable System Info and ?
system.settings |= (SYS_NOSYSINFO | SYS_NONODELIST);
// @note: Unable to suppress "Logging on to <BBS> as <USER>..."
// Need to suppress Search for new messages & files
user.settings &= ~(USER_ASK_SSCAN & USER_ASK_NSCAN & USER_ANFSCAN);
user.settings &= ~USER_PAUSE;
// Enable ANSI and some other settings
user.settings |= (USER_ANSI & USER_COLOR & USER_COLDKEYS);