• Digital Distortion Area Chooser

    From Underminer@VERT/UNDRMINE to All on Saturday, March 28, 2015 05:01:31
    Greetings once again, all!
    I'm wanting to install Digital Distortion's area chooser, but I'm a little confused by their installation instructions. Does anyone know if it really is as simple as adding Load("DDmsgAreaChooser.js", true); to a configuration? And if so, which file do I need to edit to add this to the default synch shell? Underminer - The Undermine BBS | telnet://undermine.ddns.net

    ---
    þ Synchronet þ The Undermine - undermine.ddns.net
  • From Mro@VERT/BBSESINF to Underminer on Saturday, March 28, 2015 13:03:46
    Re: Digital Distortion Area Chooser
    By: Underminer to All on Sat Mar 28 2015 05:01 am

    Greetings once again, all!
    I'm wanting to install Digital Distortion's area chooser, but I'm a little confused by their installation instructions. Does anyone know if it really is as simple as adding Load("DDmsgAreaChooser.js", true); to a configuration? And if so, which file do I need to edit to add this to the default synch shell? Underminer - The Undermine BBS | telnet://undermine.ddns.net


    why dont you just email the author?
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From MCMLXXIX to Mro on Saturday, March 28, 2015 19:24:32
    Re: Digital Distortion Area Chooser
    By: Mro to Underminer on Sat Mar 28 2015 13:03:46

    why dont you just email the author?

    why dont you try not being a cunt?
  • From Hustler@VERT/CBLISS to MCMLXXIX on Tuesday, March 31, 2015 12:58:27
    Re: Digital Distortion Area Chooser
    By: MCMLXXIX to Mro on Sat Mar 28 2015 19:24:32

    Re: Digital Distortion Area Chooser
    By: Mro to Underminer on Sat Mar 28 2015 13:03:46

    why dont you just email the author?

    why dont you try not being a cunt?


    Oooooof. Nice left hook! BAM!

    ---
    þ Synchronet þ chaotic bliss - chaoticbliss.darktech.org
  • From Nightfox@VERT/DIGDIST to Underminer on Tuesday, March 31, 2015 17:59:53
    Re: Digital Distortion Area Chooser
    By: Underminer to All on Sat Mar 28 2015 05:01:31

    I'm wanting to install Digital Distortion's area chooser, but I'm a little confused by their installation instructions. Does anyone know if it really is as simple as adding Load("DDmsgAreaChooser.js", true); to a configuration? And if so, which file do I need to edit to add this to the default synch shell? Underminer - The Undermine BBS |

    Yes, it should be about that simple. But it depends on what kind of command shell you're using - Are you using the default Synchronet command shell? If so, you're probably using default.src (and default.bin), which is written in Baja. The instructions for my area choosers were mainly for installing it in a JavaScript script, so if you're using a JavaScript command shell (such as classic_shell.js), that's what you would update. In default.src, search for msg_select_area and change that line to run DDMsgAreaChooser.js - It looks like that should be online 225 (according to my copy of default.src). It should be underneath a line that says "cmdkey J".

    In a JavaScript script, load("DDMsgAreaChooser.js", true); is one of several ways you could run it. If you're using a Baja command shell (such as the 'default' shell mentioned above), you'd want to run it this way:

    exec "?DDMsgAreaChooser.js"

    If you're using a JavaScript command shell, you could also run it this way:

    bbs.exec("?DDMsgAreaChooser.js");


    Before making mods to a standard command shell, I would recommend first copying it to the sbbs\mods directory and changing it there - That way, if you update your Synchronet files, you won't overwrite your customizations with one of the standard files. If you put a command shell in the sbbs\mods directory, Synchronet will find it & load it from there before looking in the standard directories.

    For more information on Synchronet's command shells and scripting languages, these are some links that might be useful: http://wiki.synchro.net/custom:command_shell http://wiki.synchro.net/module:index?s[]=scripts
    Baja language reference: http://www.synchro.net/docs/baja.html
    JavaScript object reference: http://www.synchro.net/docs/jsobjs.html

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com
  • From Underminer@VERT/UNDRMINE to Nightfox on Wednesday, April 01, 2015 00:17:51
    Re: Digital Distortion Area Chooser
    By: Nightfox to Underminer on Tue Mar 31 2015 17:59:53

    DDMsgAreaChooser.js - It looks like that should be online 225 (according to my copy of default.src). It should be underneath a line that says "cmdkey J".
    In a JavaScript script, load("DDMsgAreaChooser.js", true); is one of several ways you could run it. If you're using a Baja command shell (such as the 'default' shell mentioned above), you'd want to run it this way: exec "?DDMsgAreaChooser.js"
    If you're using a JavaScript command shell, you could also run it this way:
    bbs.exec("?DDMsgAreaChooser.js");
    For more information on Synchronet's command shells and scripting languages, these are some links that might be useful: http://wiki.synchro.net/custom:command_shell http://wiki.synchro.net/module:index?s[]=scripts
    Baja language reference: http://www.synchro.net/docs/baja.html
    JavaScript object reference: http://www.synchro.net/docs/jsobjs.html Nightfox

    Wow! Thanks, Nightfox, you went above and beyond! I not only got a good idea of how to use your mod, but it filled in a lot of the blanks I had about using Baja. You are truly awesome!
    - Underminer

    ---
    þ Synchronet þ The Undermine - undermine.ddns.net
  • From Underminer@VERT/UNDRMINE to Nightfox on Wednesday, April 01, 2015 02:06:14
    Re: Digital Distortion Area Chooser
    By: Nightfox to Underminer on Tue Mar 31 2015 17:59:53

    In addition to my last message, I just wanted to let you know that the info you provided me not only allowed me to implement your mod, but write a custom shell entirely. It all seems to work without a hitch, now I just need to make it pretty before letting users see it. :)

    - Underminer.

    ---
    þ Synchronet þ The Undermine - undermine.ddns.net
  • From Nightfox@VERT/DIGDIST to Underminer on Wednesday, April 01, 2015 07:39:28
    Re: Digital Distortion Area Chooser
    By: Underminer to Nightfox on Wed Apr 01 2015 00:17:51

    Wow! Thanks, Nightfox, you went above and beyond! I not only got a good idea of how to use your mod, but it filled in a lot of the blanks I had about using Baja. You are truly awesome!

    Glad I was able to help.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.com