MRC general config

This commit is contained in:
David Stephens 2019-05-26 00:16:49 +01:00
parent b30d0e189d
commit 0b95997554
2 changed files with 56 additions and 2 deletions

View File

@ -452,9 +452,17 @@ function getDefaultConfig() {
chatServers : { chatServers : {
mrc: { mrc: {
enabled : true, enabled : true,
serverHostname : 'mrc.bottomlessabyss.net',
serverPort : 5000,
multiplexerPort : 5000, multiplexerPort : 5000,
serverHostname : "mrc.bottomlessabyss.com", bbsInfo : {
serverPort : 5000 sysop : '',
telnet : '',
website : '',
ssh : '',
description : '',
}
} }
}, },

View File

@ -1066,6 +1066,10 @@
value: { command: "UA" } value: { command: "UA" }
action: @menu:mainMenuUserAchievementsEarned action: @menu:mainMenuUserAchievementsEarned
} }
{
value: { command: "MRC" }
action: @menu:mrc
}
{ {
value: 1 value: 1
action: @menu:mainMenu 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: { nodeMessage: {
desc: Node Messaging desc: Node Messaging
module: node_msg module: node_msg