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: | Thumper |
|---|---|
| Location: | Copperopolis, CA |
| Users: | 6 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 36:20:24 |
| Calls: | 165 |
| Calls today: | 1 |
| Files: | 4,897 |
| D/L today: |
106 files (9,876K bytes) |
| Messages: | 53,683 |