Add Rumorz

This commit is contained in:
Bryan Ashby 2016-08-26 22:34:37 -06:00
parent bbba6cd214
commit b80cd18012
5 changed files with 115 additions and 0 deletions

View File

@ -745,6 +745,10 @@
value: { command: "O" } value: { command: "O" }
action: @menu:mainMenuOnelinerz action: @menu:mainMenuOnelinerz
} }
{
value: { command: "R" }
action: @menu:mainMenuRumorz
}
{ {
value: { command: "CHAT"} value: { command: "CHAT"}
action: @menu:ercClient action: @menu:ercClient
@ -1108,6 +1112,92 @@
} }
} }
mainMenuRumorz: {
desc: Rumorz
module: rumorz
options: {
cls: true
}
config: {
art: {
entries: RUMORS
add: RUMORADD
}
}
form: {
0: {
mci: {
VM1: {
focus: false
height: 10
}
TM2: {
argName: addOrExit
items: [ "yeah!", "nah" ]
"hotKeys" : { "Y" : 0, "N" : 1, "Q" : 1 }
submit: true
focus: true
}
}
submit: {
*: [
{
value: { addOrExit: 0 }
action: @method:viewAddScreen
}
{
value: { addOrExit: null }
action: @systemMethod:nextMenu
}
]
}
actionKeys: [
{
keys: [ "escape" ]
action: @systemMethod:nextMenu
}
]
},
1: {
mci: {
ET1: {
focus: true
maxLength: 70
argName: rumor
}
TL2: {
width: 60
}
TM3: {
argName: addOrCancel
items: [ "add", "cancel" ]
"hotKeys" : { "A" : 0, "C" : 1, "Q" : 1 }
submit: true
}
}
submit: {
*: [
{
value: { addOrCancel: 0 }
action: @method:addEntry
}
{
value: { addOrCancel: 1 }
action: @method:cancelAdd
}
]
}
actionKeys: [
{
keys: [ "escape" ]
action: @method:cancelAdd
}
]
}
}
}
ercClient: { ercClient: {
art: erc art: erc
module: erc_client module: erc_client

Binary file not shown.

Binary file not shown.

View File

@ -271,6 +271,31 @@
} }
} }
mainMenuRumorz: {
config: {
listFormat: "|00|11 {rumor}"
focusListFormat: "|00|15> |14{rumor}"
}
0: {
mci: {
VM1: { height: 14 }
TM2: {
focusTextStyle: upper
items: [ "yes", "no" ]
}
}
}
1: {
mci: {
ET1: { width: 60 }
TL2: { width: 60 }
TM3: {
focusTextStyle: upper
}
}
}
}
bbsList: { bbsList: {
0: { 0: {
mci: { mci: {