__ _ _ _ / _| ___ ___ __| | |__ __ _ _ __| | __ | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ / | _| (_) | (_) | (_| | |_) | (_| | | | < |_| \___/ \___/ \__,_|_.__/ \__,_|_| |_|\_\
A personal BBS · Missoula, Montana · formerly NaClCON BBS
Connect from your terminal: telnet naclconbbs.net 23 | ssh naclconbbs.net -p 2222
As discussed in IRC the other day, i've made a few updates to my Spitfire command shell. https://github.com/xbit44/spitfire-cs
When using bbs.menu_dir to redirect menus to a shell subfolder, some internal menu calls in external scripts (like multchat in chat_sec.js and logoff screens) also look in the subfolder and fail. Is there a way to have our custom menus display from the shell subfolder while letting these internal/system menus fall back to the default text/menu location?
The problem i think i'm having is chat_sec.js calls bbs.menu("multchat") internally while menu_dir is still "spitfire". I think the advice works for single-level calls but chat_sec.js makes its own nested bbs.menu() calls that I can't seem to intercept.
So for example, my chat menu works but when i click J i get an error that the menu can't be found as its looking in /text/menu/spitfire. I think this is my last menu issue, but we'll see.
| Sysop: | foodbark |
|---|---|
| Location: | Missoula, MT |
| Users: | 13 |
| Nodes: | 100 (0 / 100) |
| Uptime: | 496228:47:32 |
| Calls: | 395 |
| Files: | 49 |
| D/L today: |
2 files (17K bytes) |
| Messages: | 12,492 |