sbbs/logon.js

21 lines
683 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_PAUSE | USER_NO_EXASCII | USER_COLDKEYS);
// Enable ANSI and some other settings
user.settings |= (USER_AUTOTERM | USER_ANSI | USER_COLOR);
// Disable Chatting
user.chat_settings |= (CHAT_NOPAGE | CHAT_NOACT);