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: { login: {
art: USERLOG art: USERLOG
next: fullLoginSequenceLoginArt //next: fullLoginSequenceLoginArt
next: loginOnelinerz
config: { config: {
tooNodeMenu: loginAttemptTooNode 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: { loginAttemptTooNode: {
art: TOONODE art: TOONODE
options: { options: {
@ -915,10 +977,10 @@
art: erc art: erc
module: erc_client module: erc_client
config: { config: {
host: 192.168.1.171 host: localhost
port: 5001 port: 5001
bbsTag: SUPER bbsTag: CHANGEME
} }
form: { form: {
0: { 0: {
@ -932,7 +994,7 @@
ET3: { ET3: {
autoScale: false autoScale: false
width: 77 width: 77
argName: chattxt argName: inputArea
focus: true focus: true
submit: true submit: true
} }
@ -941,9 +1003,9 @@
submit: { submit: {
*: [ *: [
{ {
value: { chattxt: null } value: { inputArea: null }
action: @method:processInput action: @method:inputAreaSubmit
} }
] ]
} }
actionKeys: [ actionKeys: [
@ -999,6 +1061,10 @@
value: { command: "DP" } value: { command: "DP" }
action: @menu:doorParty action: @menu:doorParty
} }
{
value: { command: "HL" }
action: @menu:telnetBridgeHappyLand
}
] ]
} }
@ -1076,6 +1142,18 @@
bbsTag: XX 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 // Message Area Menu
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////