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?
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?
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.
Digital Man wrote to Tony Langdon <=-
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):
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
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. :)
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)
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 28 |
Nodes: | 8 (0 / 8) |
Uptime: | 189:21:30 |
Calls: | 2,004 |
Calls today: | 1 |
Files: | 11,114 |
Messages: | 942,266 |