Update default menu.hjson - fix parse error

This commit is contained in:
Bryan Ashby 2017-09-24 09:58:57 -06:00
parent 68da131b1b
commit d5334270c4
1 changed files with 31 additions and 51 deletions

View File

@ -598,7 +598,17 @@
fullLoginSequenceOnelinerz: { fullLoginSequenceOnelinerz: {
desc: Viewing Onelinerz desc: Viewing Onelinerz
module: onelinerz module: onelinerz
next: fullLoginSequenceNewScanConfirm next: [
{
// calls >= 2
acs: NC2
next: fullLoginSequenceNewScanConfirm
}
{
// new users - skip new scan
next: fullLoginSequenceUserStats
}
]
options: { options: {
cls: true cls: true
} }
@ -1006,28 +1016,33 @@
} }
] ]
} }
mainMenuLastCallers: { mainMenuLastCallers: {
desc: Last Callers desc: Last Callers
module: last_callers module: last_callers
art: LASTCALL art: LASTCALL
options: { pause: true } options: { pause: true }
} }
mainMenuWhosOnline: { mainMenuWhosOnline: {
desc: Who's Online desc: Who's Online
module: whos_online module: whos_online
art: WHOSON art: WHOSON
options: { pause: true } options: { pause: true }
} }
mainMenuUserStats: { mainMenuUserStats: {
desc: User Stats desc: User Stats
art: STATUS art: STATUS
options: { pause: true } options: { pause: true }
} }
mainMenuSystemStats: { mainMenuSystemStats: {
desc: System Stats desc: System Stats
art: SYSSTAT art: SYSSTAT
options: { pause: true } options: { pause: true }
} }
mainMenuUserList: { mainMenuUserList: {
desc: User Listing desc: User Listing
module: user_list module: user_list
@ -1615,15 +1630,11 @@
action: @systemMethod:prevMenu action: @systemMethod:prevMenu
} }
{ {
value: { command: "1" } value: { command: "PW" }
action: @menu:doorPimpWars action: @menu:doorPimpWars
} }
{ {
value: { command: "2" } value: { command: "TW" }
action: @menu:doorLORD
}
{
value: { command: "4" }
action: @menu:doorTradeWars2002BBSLink action: @menu:doorTradeWars2002BBSLink
} }
{ {
@ -1635,19 +1646,22 @@
action: @menu:doorParty action: @menu:doorParty
} }
{ {
value: { command: "HL" } value: { command: "AGENT" }
action: @menu:telnetBridgeHappyLand action: @menu:telnetBridgeAgency
} }
] ]
} }
//
// Example using the abracadabra module for a retro DOS door
//
doorPimpWars: { doorPimpWars: {
desc: Playing PimpWars desc: Playing PimpWars
module: abracadabra module: abracadabra
config: { config: {
name: PimpWars name: PimpWars
dropFileType: DORINFO dropFileType: DORINFO
cmd: /home/nuskooler/DOS/scripts/pimpwars.sh cmd: /home/enigma/DOS/scripts/pimpwars.sh
args: [ args: [
"{node}", "{node}",
"{dropFile}", "{dropFile}",
@ -1659,37 +1673,6 @@
} }
} }
doorDarkLands: {
desc: Playing Dark Lands
module: abracadabra
config: {
name: DARKLANDS
dropFileType: DOOR
cmd: /home/nuskooler/dev/enigma-bbs/doors/darklands/start.sh
args: [
"{node}",
"{dropFile}",
"{srvPort}",
],
nodeMax: 1
tooManyArt: DOORMANY
io: socket
}
}
doorLORD: {
desc: Playing L.O.R.D.
module: abracadabra
config: {
name: LORD
dropFileType: DOOR
cmd: /usr/bin/dosemu
args: [
"-quiet", "-f", "/home/nuskooler/DOS/X/LORD/dosemu.conf", "X:\\LORD\\START.BAT {node}"
]
}
}
// //
// TradeWars 2000 example via BBSLink // TradeWars 2000 example via BBSLink
// //
@ -1706,6 +1689,7 @@
} }
} }
// DoorParty! support. You'll need to registger to obtain credentials
doorParty: { doorParty: {
desc: Using DoorParty! desc: Using DoorParty!
module: @systemModule:door_party module: @systemModule:door_party
@ -1716,14 +1700,11 @@
} }
} }
telnetBridgeHappyLand: { telnetBridgeAgency: {
desc: Connected to HappyLand BBS desc: Connected to HappyLand BBS
module: telnet_bridge module: telnet_bridge
config: { config: {
host: andrew.homeunix.org host: agency.bbs.geek.nz
port: 2023
//host: agency.bbs.geek.nz
//port: 23
} }
} }
@ -2069,12 +2050,11 @@
} }
3: { 3: {
HM: { mci: {
mci: { HM1: {
HM1: { items: [ "save", "discard", "quote", "help" ]
items: [ "save", "discard", "quote", "help" ]
}
} }
}
submit: { submit: {
*: [ *: [