Re: Message Area Menu
By: Nightfox to Vela025 on Mon Mar 03 2025 11:10:22
Thanks both, it took me a while to figure out exactly how I wanted it but your input has been incredibly helpful. I decided to go for the adding an extra section to default.js and as suggested used the existing const main_menu= { section to help model the new const msg_menu = { section. It seems to be working great, however for node_action: in the msg_menu section I have left this as NODE_MAIN, but notice in file it is NODE_XFER. Is it ok to leave this as NODE_MAIN or should I look in to how to create a NODE_MSG (or similar).
I suggest using NODE_RMSG ("Reading messages") for your shell's message sect > node action.
Thanks both, it took me a while to figure out exactly how I wanted it but your input has been incredibly helpful. I decided to go for the adding an extra section to default.js and as suggested used the existing const main_menu= { section to help model the new const msg_menu = { section. It seems to be working great, however for node_action: in the msg_menu section I have left this as NODE_MAIN, but notice in file it is NODE_XFER. Is it ok to leave this as NODE_MAIN or should I look in to how to create a NODE_MSG (or similar).
Re: Message Area Menu
By: Vela025 to Nightfox on Wed Mar 05 2025 08:09 pm
Thanks both, it took me a while to figure out exactly how I wanted it but your input has been incredibly helpful. I decided to go for the adding an extra section to default.js and as suggested used the existing const main_menu= { section to help model the new const msg_menu = { section. It seems to be working great, however for node_action: in the msg_menu section I have left this as NODE_MAIN, but notice in file it is NODE_XFER. Is it ok to leave this as NODE_MAIN or should I look in to how to create a NODE_MSG (or similar).
I think the node_action helps mainly with logging, as it would point out what the user is doing (I don't remember offhand if there are other ways it helps). In my command shell, I set node_action to NODE_RMSG (reading messages) in my message menu, but you could keep it as NODE_MAIN if you wanted to, I suppose.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 503 |
Nodes: | 16 (2 / 14) |
Uptime: | 226:58:22 |
Calls: | 9,884 |
Calls today: | 6 |
Files: | 13,791 |
Messages: | 6,206,416 |
Posted today: | 1 |