bbs.menu_exists() with a sub-directory specified should work fine. See xtrn_sec.js as an example which check for the existence (and displays) text/menu/xtrn/*.*.
Does the file text/menu/<shell>/mainmenu.asc exist? The .msg or .asc version of a menu file must exist for bbs.menu_exists() to return true.
At minimum, a .asc or .msg menu display file is required. bbs.menu() first looks for the *most* applicable file format, not all file formats.
nolageek wrote to Digital Man <=-ãã DM> At minimum, a .asc or .msg menu display file is required. bbs.menu() firstã DM> looks for the *most* applicable file format, not all file formats.ãã no> But it will find .ans - I guess I expected bbs.menu() andã no> bbs.menu_exists() to work with the same formats so they couldã no> work together.I could convert I gues (but then I'd have to alwaysã no> convert back and forth to edit them.) Are .msg and .asc faster orã no> are they "more native" to synchronet? Just curious.ããhttp://wiki.synchro.net/custom:menu_filesãããã... So easy, a child could do it. Child sold separately.ã--- MultiMail/Linux v0.52ã þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FLã
Sysop: | Karloch |
---|---|
Location: | Madrid, Spain |
Users: | 78 |
Nodes: | 8 (0 / 8) |
Uptime: | 61:08:29 |
Calls: | 1,390 |
Calls today: | 1 |
Files: | 17,895 |
D/L today: |
8 files (174K bytes) |
Messages: | 66,273 |