Android8675 wrote to echicken on 04-10-18 10:51 <=-ãã An> Re: Changing SyncTerm Display speed, and...ã An> By: echicken to Android8675 on Fri Mar 30 2018 12:35 pmãã ec> It occurs to me that this could just as easily be a function inã ec> xtrn_sec.js or whatever you launch doors from. You'll need to modify itã ec> anyway, and this doesn't have to be its own script.ãã ec> function launch(code) {ã ec> bbs.exec_xtrn(code);ã ec> if (console.yesno('Display scores')) {ã ec> var f = new File(system.ctrl_dir + 'scores.ini');ã ec> f.open('r');ã ec> var ini = f.iniGetObject();ã ec> f.close();ã ec> if (ini[code]) {ã ec> console.clear(LIGHTGRAY);ã ec> console.printfile(ini[code]);ã ec> console.pause();ã ec> }ã ec> }ã ec> }ãã An> That's amazingly just what I was looking for.ãã An> So I could drop this in before main in xtrn_sec.js, replaceã An> bbs.exec_xtrn(prog_list[i].code); with launch(prog_list[i].code);...ãã An> what's the format for scores.ini?ãã An> doorcode = filename?ãã An> Out of curiousity, would this also display files from urls? Forã An> example, pull the score file from BBS Linksã An> (http://games.bbslink.net/score.php?door=lord&type=ansi) or DoorPartyã An> or CoA, etc?ããHe's already done this for me and it works like a charm. It's on his github as:ãbbslink-things. Very easy to setup...ããLooks like he answered you already... :)ããã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
Android8675 wrote to Bill McGarrity on 04-11-18 15:13 <=-ãã An> Re: Door Scores...ã An> By: Bill McGarrity to Android8675 on Tue Apr 10 2018 06:52 pmãã An>> Out of curiousity, would this also display files from urls? Forã An>> example, pull the score file from BBS Linksã An>> (http://games.bbslink.net/score.php?door=lord&type=ansi) orã An>> DoorParty or CoA, etc?ãã BM> He's already done this for me and it works like a charm. It's on hisã BM> github as: bbslink-things. Very easy to setup...ãã An> Yep, got that. I'm tinkering with this other version in xtrn_sec.js. Iã An> may move everything to it's own independant program. Want to get itã An> working how I like it first. Going to have an option for multipleã An> files, and something that works with the web eventaully. I hope.ããI noticed that in your discussion with DM. I'm just starting to get the hang ofãjs and hopefully I'll be doing self-upgrades in the future. Slow processãthough... :/ããã--ããBillããTelnet: tequilamockingbirdonline.netãWeb: bbs.tequilamockingbirdonline.netãFTP: ftp.tequilamockingbirdonline.net:2121ãIRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697ãRadio: radio.tequilamockingbirdonline.net:8010/liveããã... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!ã--- MultiMail/Win32 v0.50ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
Sysop: | Karloch |
---|---|
Location: | Madrid, Spain |
Users: | 52 |
Nodes: | 8 (0 / 8) |
Uptime: | 34:24:20 |
Calls: | 759 |
Files: | 17,895 |
Messages: | 65,797 |