Subj : Creating message menu To : Amessyroom From : Digital Man Date : Tue Sep 24 2024 11:16 pm Re: Creating message menu By: Amessyroom to All on Tue Sep 24 2024 10:41 pm > I've taken code from default.js to create a message menu but there are > two components, that I don't understand that are in the code: > What are node_action: value? NODE_XFER was just copied from the file > menu definition. "XFER" in this context means "file transfer". Probably not what you want. The possible values for the node_action can be found in load/nodedefs.js. For a "message menu", you'd probably want to use NODE_RMSG (reading messages). > What is the "eval: 'bbs.messages_cmds++' used for? It's not. I suspect you might've create that property yourself via search/replace maybe? The built-in command counters are bbs.main_cmds and bbs.xfer_cmds and their used for special actions that only occur before/during/after a specific number of user commands have been entered. It's not a common use case. If you want to create and increment bbs.message_cmds in your script, that's fine. No harm. -- digital man (rob) Synchronet "Real Fact" #22: The second ever Synchronet BBS was the Mid-Nite Hacker BBS (sysop: The Zapper) Norco, CA WX: 62.2øF, 85.0% humidity, 0 mph W wind, 0.00 inches rain/24hrs --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .