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: | digital man |
|---|---|
| Location: | Riverside County, California |
| Users: | 1,189 |
| Nodes: | 17 (0 / 17) |
| Uptime: | 159:07:09 |
| Calls: | 509,803 |
| Calls today: | 8 |
| Files: | 254,982 |
| U/L today: |
1 files (188K bytes) |
| D/L today: |
5,965 files (1,271M bytes) |
| Messages: | 471,886 |
| Posted today: | 3 |