• Multiple IRC configurations

    From Tony Langdon@VERT to All on Saturday, February 17, 2018 20:29:27
    Is it possible to setup multiple IRC configurations in the chat section?

    I'd like to be able to keep the Synchronet IRC configuration, but also have a menu option to connect to an alternate server and channel.

    So a user could select to connect to #synchronet on irc.synchro.net with one menu option, or say #linux on irc.freenode.net with another option.

    How would I go about doing this?
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Tony Langdon on Saturday, February 17, 2018 14:48:06
    On Sat, 17 Feb 2018 20:29:27 +1000, "Tony Langdon" <tony.langdon@VERT>
    wrote:

    Is it possible to setup multiple IRC configurations in the chat section?

    I'd like to be able to keep the Synchronet IRC configuration, but also have a >menu option to connect to an alternate server and channel.

    So a user could select to connect to #synchronet on irc.synchro.net with one >menu option, or say #linux on irc.freenode.net with another option.

    How would I go about doing this?

    It should just be a matter of adding a line to your text/menu/chat.asc
    menu. May also wan to do chat.rip and chat.wip

    You'll then have to modify your exec/chat_sec.js file (probably copy
    it to mods and insert a new section) that will connect to a different server/channel using whatever command letter you choose.


    Assuming you have the lastest, line 80 is the 'R' key for IRC. Copy
    that section and change

    var server=irc_server
    to
    var server="irc.freenode.net"

    and add after it

    irc_channel="#linux"

    or you can change both references to irc_channel to "#linux"

    You may also need to add your chosen key to "var keys =" line 48.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Digital Man@VERT to Tony Langdon on Saturday, February 17, 2018 14:23:25
    Re: Multiple IRC configurations
    By: Tony Langdon to All on Sat Feb 17 2018 08:29 pm

    Is it possible to setup multiple IRC configurations in the chat section?

    I'd like to be able to keep the Synchronet IRC configuration, but also have a menu option to connect to an alternate server and channel.

    So a user could select to connect to #synchronet on irc.synchro.net with one menu option, or say #linux on irc.freenode.net with another option.

    Yes.

    How would I go about doing this?

    Copy exec/chat_sec.js to your mods directory. Then edit your mods/chat_sec.js with a text editor. Add a new command key to this line (within the quotes):

    var keys = "ACDIJPQRST?\r";

    Then create a new 'case' block (after the switch), similar to this (replace 'X' with the command key you chose):

    case 'X':
    bbs.exec("?irc -a irc.freenode.net #linux");
    break;


    digital man

    Synchronet "Real Fact" #29:
    Rob Swindell first called BBSes (at 300bps) with an Apple II computer in 1982. Norco, CA WX: 74.7øF, 17.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tony Langdon@VERT to Nelgin on Sunday, February 18, 2018 17:32:00
    Nelgin wrote to Tony Langdon <=-

    How would I go about doing this?

    It should just be a matter of adding a line to your text/menu/chat.asc menu. May also wan to do chat.rip and chat.wip

    You'll then have to modify your exec/chat_sec.js file (probably copy
    it to mods and insert a new section) that will connect to a different server/channel using whatever command letter you choose.

    <snip>

    Ahh OK, thanks, will save this message and look into making the mods. I'm running a fairly recent version of Synchronet.

    Looks like some fun to be had, but looking forward to fiddling. :D


    ... Computer Hacker wanted. Must have own axe.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tony Langdon@VERT to Digital Man on Sunday, February 18, 2018 17:37:00
    Digital Man wrote to Tony Langdon <=-

    Yes.

    Good. :)

    How would I go about doing this?

    Copy exec/chat_sec.js to your mods directory. Then edit your mods/chat_sec.js with a text editor. Add a new command key to this line (within the quotes):

    <snip>

    Thanks, that looks pretty straightforward. Will give it a whirl. :)


    ... The word 'meaningful' when used today is nearly always meaningless.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Tony Langdon on Sunday, February 18, 2018 04:36:35
    On Sun, 18 Feb 2018 17:32:00 +1000, "Tony Langdon" <tony.langdon@VERT>
    wrote:

    Nelgin wrote to Tony Langdon <=-

    How would I go about doing this?

    It should just be a matter of adding a line to your text/menu/chat.asc menu. May also wan to do chat.rip and chat.wip

    You'll then have to modify your exec/chat_sec.js file (probably copy
    it to mods and insert a new section) that will connect to a different server/channel using whatever command letter you choose.

    <snip>

    Ahh OK, thanks, will save this message and look into making the mods. I'm >running a fairly recent version of Synchronet.

    Looks like some fun to be had, but looking forward to fiddling. :D

    Looks like DM's solution is the same as mine but gives you a much
    simpler block for the server connection. Good luck.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Tony Langdon@VERT to Nelgin on Monday, February 19, 2018 07:51:00
    Nelgin wrote to Tony Langdon <=-

    Looks like DM's solution is the same as mine but gives you a much
    simpler block for the server connection. Good luck.

    And DM's solution worked a treat. Now, just have to work out what to use to edit the menus, ATM, it's a hidden command, but I want to make it viewable in the chat menu. :)


    ... The large print giveth and the small print taketh away.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Tony Langdon on Monday, February 19, 2018 02:55:48
    On Mon, 19 Feb 2018 07:51:00 +1000, "Tony Langdon" <tony.langdon@VERT>
    wrote:


    And DM's solution worked a treat. Now, just have to work out what to use to >edit the menus, ATM, it's a hidden command, but I want to make it viewable in >the chat menu. :)

    Just use your regular text editor.

    There's a line that'll look like this in your chat.asc file

    Û ^An^Ah^AyR ^An^AgInternet Relay Chat

    Copy using the editor build in copy & paste (otherwise control
    characters won't copy properly)

    So, copy and paste in the line below. Change the R to whatever key you
    want and then the text. Make sure the box lines up.

    I've whipped up a sample on for you that you can download from http://www.endofthelinebbs.com/newchat.asc

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Tony Langdon@VERT to Nelgin on Tuesday, February 20, 2018 06:44:00
    Nelgin wrote to Tony Langdon <=-

    Just use your regular text editor.

    There's a line that'll look like this in your chat.asc file

    Û ^An^Ah^AyR ^An^AgInternet Relay Chat

    Copy using the editor build in copy & paste (otherwise control
    characters won't copy properly)

    Ahh ok, thanks. :)


    ... Does fuzzy logic tickle?
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net