diff --git a/core/config.js b/core/config.js index 854e65c8..ea309fc6 100644 --- a/core/config.js +++ b/core/config.js @@ -452,9 +452,17 @@ function getDefaultConfig() { chatServers : { mrc: { enabled : true, + serverHostname : 'mrc.bottomlessabyss.net', + serverPort : 5000, multiplexerPort : 5000, - serverHostname : "mrc.bottomlessabyss.com", - serverPort : 5000 + bbsInfo : { + sysop : '', + telnet : '', + website : '', + ssh : '', + description : '', + + } } }, diff --git a/misc/menu_template.in.hjson b/misc/menu_template.in.hjson index 9aac86f3..9ae54d17 100644 --- a/misc/menu_template.in.hjson +++ b/misc/menu_template.in.hjson @@ -1066,6 +1066,10 @@ value: { command: "UA" } action: @menu:mainMenuUserAchievementsEarned } + { + value: { command: "MRC" } + action: @menu:mrc + } { value: 1 action: @menu:mainMenu @@ -1094,6 +1098,48 @@ } } + mrc: { + desc: MRC Chat + module: mrc + art: MRC + config: { + cls: true + } + form: { + 0: { + mci: { + MT1: { + mode: preview + autoScroll: true + } + ET2: { + argName: inputArea + submit: true + focus: true + } + } + actionKeys: [ + { + keys: [ "escape" ] + action: @systemMethod:prevMenu + } + { + keys: [ "down arrow", "up arrow", "page up", "page down" ] + action: @method:movementKeyPressed + } + ] + submit: { + *: [ + { + value: { inputArea: null } + action: @method:sendChatMessage + } + ] + } + } + } + } + nodeMessage: { desc: Node Messaging module: node_msg