• Insert Ansi

    From Lesser Keys@DIGDIST/BATTLEST/FREEWAY to All on Sun Oct 13 16:22:00 2013
    I would like to know how to insert ansi into my last callers list (synchronet sysop here.)
    could I just go into my shells and above the node list sections type the following

    *baja print "/sbbs/text/nodelist.ans"
    *java load (/sbbs/text/nodelist.ans" or do I need something else to fit in there (Maybe my sytax is wrong, I have been cutting and pasting alot so I don't remember it exactly :P." Maybe something along those lines should work?
    or would it be just as easy to make a js file for my nodes list and insert the ansi at the begining of the js file.
    Solomon's Temple * telnet (wm.myftp.org)



    ---
    þ Synchronet þ Solomon's Temple *telnet://wm.myftp.org
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Lesser Keys on Sun Oct 13 18:40:00 2013
    Re: Insert Ansi
    By: Lesser Keys to All on Sun Oct 13 2013 16:22:59

    I would like to know how to insert ansi into my last callers list (synchronet sysop here.)
    could I just go into my shells and above the node list sections type the following

    *baja print "/sbbs/text/nodelist.ans"
    *java load (/sbbs/text/nodelist.ans" or do I need something else to fit in there (Maybe my sytax is wrong, I have been cutting and pasting alot so I don't remember it exactly :P." Maybe something along those lines should work? or would it be just as easy to make a js file for my nodes list and insert the ansi at the begining of the js file.

    You would need to modify your logon script (not the command shell). By default, Synchronet executes logon.js (located in sbbs/exec) when a user logs in, and that script outputs logon.lst - So you would have to modify logon.js and put something above the line that outputs logon.lst to load and display an ANSI file.

    Rather than modifying the stock logon.js though, it would be better to make a copy of it (with a different filename), modify the copy, and configure Synchronet to use your version rather than the stock logon.js. And it would be best to put your version in sbbs/mods. That way, if you update to the latest stock Synchronet files, your customizations wouldn't get overridden.

    You can configure the name of the logon script in SCFG > System > Loadable Modules. In there, modify the "Logon" option and give it the name of your logon script file (without the .js extension). For instance, for my BBS, I've created my own logon script called logonDD.js (in sbbs/mods), and in SCFG, I put logonDD for the "Logon" setting in Loadable Modules.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Lesser Keys@DIGDIST/BATTLEST/FREEWAY to Nightfox on Tue Oct 15 04:08:00 2013
    Re: Insert Ansi
    By: Nightfox to Lesser Keys on Sun Oct 13 2013 06:40 pm

    You would need to modify your logon script (not the command shell). By default, Synchronet executes logon.js (located in sbbs/exec) when a user logs in, and that script outputs logon.lst - So you would have to modify logon.js and put something above the line that outputs logon.lst to load and display an ANSI file.

    Good call man! :P I was wondering why I couldn't find that in my command shell. If I wanted to display an ansi above my nodes list...The command shell would be the place to do this corrent?

    By the way upgraded slyedit, thanks for telling me about it!
    Solomon's Temple * telnet (wm.myftp.org)



    ---
    þ Synchronet þ Solomon's Temple *telnet://wm.myftp.org
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Lesser Keys on Tue Oct 15 07:42:00 2013
    Re: Insert Ansi
    By: Lesser Keys to Nightfox on Tue Oct 15 2013 04:08:12

    shell. If I wanted to display an ansi above my nodes list...The command shell would be the place to do this corrent?

    I'm not sure what you mean by "nodes list"?

    By the way upgraded slyedit, thanks for telling me about it!

    No problem. :)

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Lesser Keys@DIGDIST/BATTLEST/FREEWAY to Nightfox on Tue Oct 15 16:30:00 2013
    Re: Insert Ansi
    By: Nightfox to Lesser Keys on Tue Oct 15 2013 07:42 am

    I'm not sure what you mean by "nodes list"?


    Yeah it's in most the command shells that come stock (who's online list)
    Just thought I would let you know if you ever wanted to throw an ansi in there. I know you would just write a javascript version of your who's online list anyway. But maybe you down the road you may want to add some ansi to your node list (who's online) without making a whole new js file.

    *I'm new to all this* but maybe it will help someone else down the road when they want to add ansi to their who's online list.
    Solomon's Temple * telnet (wm.myftp.org)



    ---
    þ Synchronet þ Solomon's Temple *telnet://wm.myftp.org
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Lesser Keys on Tue Oct 15 20:25:00 2013
    Re: Insert Ansi
    By: Lesser Keys to Nightfox on Tue Oct 15 2013 16:30:06

    I'm not sure what you mean by "nodes list"?

    Yeah it's in most the command shells that come stock (who's online list) Just thought I would let you know if you ever wanted to throw an ansi in there. I know you would just write a javascript version of your who's online list anyway. But maybe you down the road you may want to add some ansi to your node list (who's online) without making a whole new js file.

    *I'm new to all this* but maybe it will help someone else down the road when they want to add ansi to their who's online list.

    I thought that might be what you meant but wasn't sure.
    I'm using my own custom command shell, written in JavaScript, so I wouldn't have to create a whole new .js file. An ANSI could be displayed by using the bbs.menu() function right before the command shell displays the list of online users. I haven't had a reason to do that though.. hadn't thought about it.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Lesser Keys@DIGDIST/BATTLEST/FREEWAY to Nightfox on Wed Oct 16 00:39:00 2013
    Re: Insert Ansi
    By: Nightfox to Lesser Keys on Tue Oct 15 2013 08:25 pm

    What did you base your command shell off of if you dont mind me asking. What gave you ideas for your system. I have looked at many systems and I am wanting any kind of tip I can get..
    :)
    Solomon's Temple * telnet (wm.myftp.org)



    ---
    þ Synchronet þ Solomon's Temple *telnet://wm.myftp.org
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Lesser Keys on Wed Oct 16 07:31:00 2013
    Re: Insert Ansi
    By: Lesser Keys to Nightfox on Wed Oct 16 2013 00:39:42

    What did you base your command shell off of if you dont mind me asking. What gave you ideas for your system. I have looked at many systems and I am wanting any kind of tip I can get..
    :)

    I didn't base my command shell off anything specific. I only used my own ideas. One thing is that I don't really like Synchronet's idea that the main menu is the message menu; I've always liked having a separate "main menu" and having a separate message menu - The main menu would have some misc. commands like reading news bulletins, a few commands for some commonly-popular door games, etc., and a message menu having commands specific for reading message forums. But I suppose the main feature I wanted to have in my command shell is the ability to go to (almost) any menu from anywhere (i.e., I wanted the ability to go directly to the main menu, file menu, message menu, and multi-node chat menu at basically any time). So I basically went from there and created my own command shell based on that idea.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Lesser Keys@DIGDIST/BATTLEST/FREEWAY to Nightfox on Wed Oct 16 20:20:00 2013
    Re: Insert Ansi
    By: Nightfox to Lesser Keys on Wed Oct 16 2013 07:31 am

    I didn't base my command shell off anything specific. I only used my own ideas. One thing is that I don't really like Synchronet's idea that the main menu is the message menu; I've always liked having a separate "main menu" and having a separate message menu - The main menu would have some misc. commands like reading news bulletins, a few commands for some commonly-popular door games, etc., and a message menu having commands specific for reading message forums. But I suppose the main feature I wanted to have in my command shell is the ability to go to (almost) any menu from anywhere (i.e., I wanted the ability to go directly to the main menu, file menu, message menu, and multi-node chat menu at basically any time). So I basically went from there and created my own command shell based on that idea.

    I agree with you I don't like the way synchronet's menus are organized. I want mine to be organized kind of like yours in some way. I also want it to be fast, simple, and efficient but also leave a good impression.
    Solomon's Temple * telnet (wm.myftp.org)



    ---
    þ Synchronet þ Solomon's Temple *telnet://wm.myftp.org
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Lesser Keys on Thu Oct 17 20:04:00 2013
    Re: Insert Ansi
    By: Lesser Keys to Nightfox on Wed Oct 16 2013 20:20:53

    I agree with you I don't like the way synchronet's menus are organized. I want mine to be organized kind of like yours in some way. I also want it to be fast, simple, and efficient but also leave a good impression.

    I've put together a package that has my command shell and the other files that go with it, so you can download it and have a look at it if you want. Note that it's provided only as an example - Not everything will work because it makes references to doors that are installed on my BBS, so those almost certainly won't work on your BBS. But you can use it as an example of a JavaScript command shell and the logic I used for doing my menu navigation.

    Here's a download link: http://home.comcast.net/~nightfox/DigDistBBSStuff/DDShell.zip

    Eric

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Lesser Keys@DIGDIST/BATTLEST/FREEWAY to Nightfox on Thu Oct 17 23:34:00 2013
    Re: Insert Ansi
    By: Nightfox to Lesser Keys on Thu Oct 17 2013 08:04 pm

    I've put together a package that has my command shell and the other files that go with it, so you can download it and have a look at it if you want. Note that it's provided only as an example - Not everything will work because it makes references to doors that are installed on my BBS, so those almost certainly won't work on your BBS. But you can use it as an example of a JavaScript command shell and the logic I used for doing my menu navigation.
    Here's a download link: http://home.comcast.net/~nightfox/DigDistBBSStuff/DDShell.zip

    Hey man, thanks I am going to check it out see if i can come up with something from it..Just for ideas i swear I wont use it, and if i do, I will have your name in it somewere or something..
    Solomon's Temple * telnet (wm.myftp.org)



    ---
    þ Synchronet þ Solomon's Temple *telnet://wm.myftp.org
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Lesser Keys on Thu Oct 17 21:47:00 2013
    Re: Insert Ansi
    By: Lesser Keys to Nightfox on Thu Oct 17 2013 23:34:02

    if you want. Note that it's provided only as an example - Not
    everything will work because it makes references to doors that are
    installed on my BBS, so those almost certainly won't work on your
    BBS. But you can use it as an example of a JavaScript command shell
    and the logic I used for doing my menu navigation.
    Here's a download link:
    http://home.comcast.net/~nightfox/DigDistBBSStuff/DDShell.zip

    Hey man, thanks I am going to check it out see if i can come up with something from it..Just for ideas i swear I wont use it, and if i do, I will have your name in it somewere or something..

    I don't think I have my name in it - but that's ok, you can use it as an example. Also, I've included menu screens so that it will display something, although I've trimmed the menu screens down quite a bit, so if you want to start with it as a basis for your own shell, you can design your own menu screens (and of course, the JavaScript will need to be modified for some of the menus to work on your BBS).

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Lesser Keys@DIGDIST/BATTLEST/FREEWAY to Nightfox on Fri Oct 18 01:44:00 2013
    Re: Insert Ansi
    By: Nightfox to Lesser Keys on Thu Oct 17 2013 09:47 pm

    I don't think I have my name in it - but that's ok, you can use it as an example. Also, I've included menu screens so that it will display something, although I've trimmed the menu screens down quite a bit, so if you want to start with it as a basis for your own shell, you can design your own menu screens (and of course, the JavaScript will need to be modified for some of the menus to work on your BBS).

    Nightfox

    Hey thanks for letting me use it, I don't mind changing some Javascript. I have been tweaking the javascript on mine since I setup Synchronet. :P
    Solomon's Temple * telnet (wm.myftp.org)



    ---
    þ Synchronet þ Solomon's Temple *telnet://wm.myftp.org
  • From Nightfox@DIGDIST/BATTLEST/FREEWAY to Lesser Keys on Fri Oct 18 19:43:00 2013
    Re: Insert Ansi
    By: Lesser Keys to Nightfox on Fri Oct 18 2013 01:44:07

    Hey thanks for letting me use it, I don't mind changing some Javascript. I have been tweaking the javascript on mine since I setup Synchronet. :P

    I think customization is one the fun things about running a BBS. And if you keep running your BBS, you'll probably have time to keep modding it so that it will be more and more customized. And you'll learn quite a bit in the process.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Lesser Keys@DIGDIST/BATTLEST/FREEWAY to Nightfox on Sat Oct 19 00:25:00 2013
    Re: Insert Ansi
    By: Nightfox to Lesser Keys on Fri Oct 18 2013 07:43 pm

    I think customization is one the fun things about running a BBS. And if you keep running your BBS, you'll probably have time to keep modding it so that it will be more and more customized. And you'll learn quite a bit in the process.
    I know just by doing little things to it you start to realize hey i got something going on here! And I think my board is comming around. :P
    Solomon's Temple * telnet (wm.myftp.org)



    ---
    þ Synchronet þ Solomon's Temple *telnet://wm.myftp.org