Onelinerz WIP, telnet bridge, ERC update

This commit is contained in:
Bryan Ashby 2016-06-28 22:38:29 -06:00
parent a3b4568a76
commit 5fc458e65e
1 changed files with 87 additions and 9 deletions

View File

@ -75,7 +75,8 @@
login: {
art: USERLOG
next: fullLoginSequenceLoginArt
//next: fullLoginSequenceLoginArt
next: loginOnelinerz
config: {
tooNodeMenu: loginAttemptTooNode
}
@ -112,6 +113,67 @@
}
}
loginOnelinerz: {
desc: Viewing Onelinerz
module: onelinerz
next: fullLoginSequenceLoginArt
options: {
cls: true
}
config: {
art: {
entries: ONELINER
add: ONEADD
}
}
form: {
0: {
mci: {
VM1: {
focus: false
}
TM2: {
argName: wantAdd
items: [ "hell yeah!", "nah" ]
submit: true
focus: true
}
}
submit: {
*: [
{
value: { wantAdd: 0 }
action: @method:addPromptYes
}
{
value: { wantAdd: null }
action: @systemMethod:nextMenu
}
]
}
},
1: {
mci: {
ET1: {
focus: true
// :TODO: fix this length
maxLength: 30
width: 30
argName: oneliner
}
TL2: {
width: 20
}
TM3: {
argName: wantAdd
items: [ "add", "cancel" ]
submit: true
}
}
}
}
}
loginAttemptTooNode: {
art: TOONODE
options: {
@ -915,9 +977,9 @@
art: erc
module: erc_client
config: {
host: 192.168.1.171
host: localhost
port: 5001
bbsTag: SUPER
bbsTag: CHANGEME
}
form: {
@ -932,7 +994,7 @@
ET3: {
autoScale: false
width: 77
argName: chattxt
argName: inputArea
focus: true
submit: true
}
@ -941,8 +1003,8 @@
submit: {
*: [
{
value: { chattxt: null }
action: @method:processInput
value: { inputArea: null }
action: @method:inputAreaSubmit
}
]
}
@ -999,6 +1061,10 @@
value: { command: "DP" }
action: @menu:doorParty
}
{
value: { command: "HL" }
action: @menu:telnetBridgeHappyLand
}
]
}
@ -1076,6 +1142,18 @@
bbsTag: XX
}
}
telnetBridgeHappyLand: {
desc: Connected to HappyLand BBS
module: telnet_bridge
config: {
host: andrew.homeunix.org
port: 2023
//host: agency.bbs.geek.nz
//port: 23
}
}
///////////////////////////////////////////////////////////////////////
// Message Area Menu
///////////////////////////////////////////////////////////////////////