sbbs/logon.js

21 lines
683 B
JavaScript
Raw Normal View History

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
2020-05-31 11:00:21 +00:00
user.settings &= ~(USER_ASK_SSCAN | USER_ASK_NSCAN | USER_ANFSCAN | USER_PAUSE | USER_NO_EXASCII);
// Enable ANSI and some other settings
2020-05-31 11:00:21 +00:00
user.settings |= (USER_AUTOTERM | USER_ANSI | USER_COLOR | USER_COLDKEYS);
// Disable Chatting
user.chat_settings |= (CHAT_NOPAGE | CHAT_NOACT);