<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/20369" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2017-07-30T16:11:32-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/20369</id>

		<entry>
		<author><name><![CDATA[surfist]]></name></author>
		<updated>2017-07-30T16:11:32-04:00</updated>

		<published>2017-07-30T16:11:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106392#p106392</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106392#p106392"/>
		<title type="html"><![CDATA[How to:  eggdrop on multiple networks at once using psybnc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106392#p106392"><![CDATA[
This is a tutorial to make eggdrop run on multiple networks simultaneously.<br><br>This works on versions 2.3.2-7 and 2.3.2-9 and possibly others with slight mods.<br>This will assume you have some knowledge of psyBNC and eggdrop.<br>e.g. you have compiled and run them before.<br><br>Let's have some fun with the psybnc config.h file.<br><br>make sure that #define NETWORK and #define PROXYS is in config.h.<br>If your config.h already has these defines and is compiled, skip this part.<br>--------------- BEGIN FILE --------------<br><br>/*<br>* Configuration file for psyBNC, created by menuconf<br>*/<br>/* Encryption */<br>#define CRYPT<br>/* Encryption Type*/<br>#define BLOWFISH<br>/* Allow Translation */<br>#define TRANSLATE<br>/* Allow internal network */<br>#define INTNET<br>/* Allow traffic logging */<br>#define TRAFFICLOG<br>/* Allow linkage of bouncers */<br>#define LINKAGE<br>/* Allow the dcc File-Functions */<br>#define DCCFILES<br>/* Pipe dcc Chats */<br>#define DCCCHAT<br>/* Allow to add more users */<br>#define MULTIUSER<br>/* Number of max. Users */<br>#define MAXUSER 50<br>/* Number of max. Connections per User */<br>#define MAXCONN 99<br>/* Use blocking DNS */<br>#define BLOCKDNS<br>/* Fixes the freeze bug */<br>#define FREEZEFIX<br>/* The logging level */<br>#define LOGLEVEL 0<br>/* SSL-Security */<br>#define SSLSEC 2<br><br><br>/* Allow multiple irc connections per user */<br>#define NETWORK<br>/* Allow Proxy Support */<br>#define PROXYS<br><br><br><br>--------------- END FILE --------------<br><br><br><br><br><br>Now go ahead and make, and make install<br><br>set your listen port in psybnc.conf<br>PSYBNC.SYSTEM.PORT1=31337(changeme)<br><br>If your psybnc is new, create a user with the bot's name on your irc client and logon.<br>psybnc will make it owner.<br>If your psbnc already has users, add a user with the bot's name.<br>In either event it wil give the new user(bot) a random password, change it to whatever you like.<br>Connect your eggdrop to psybnc by editing the servers stanza in your eggdrop.conf<br><br>set servers {<br>my.psybnc.ip:port:password<br>}<br><br>At this point people add servers in psybnc and are done.<br>But wait, there's more!<br>We will double and triple the offer, for free!!<br><br>There is this fun command called ADDNETWORK, let's have a look at bhelp addnetwork.<br>&lt;-psyBNC&gt; Help for: ADDNETWORK<br>&lt;-psyBNC&gt; ADDNETWORK name<br>&lt;-psyBNC&gt; ---------------<br>&lt;-psyBNC&gt; This functionality allows you to use multiple connections to different<br>&lt;-psyBNC&gt; ircnetworks to the single connection you are keeping to the bouncer.<br>&lt;-psyBNC&gt; So it is possibly for you to get a client in your favourite network also<br>&lt;-psyBNC&gt; to secondary networks you also are on.<br>&lt;-psyBNC&gt; Example:<br>&lt;-psyBNC&gt; ADDNETWORK Ef<br>&lt;-psyBNC&gt; Would add a new network token named Ef to your userspecifications.<br>&lt;-psyBNC&gt; For any added network, you can use the functions seperately, for example:<br>&lt;-psyBNC&gt; ADDSERVER Ef'irc.freei.net:6667<br>&lt;-psyBNC&gt; would add a server for your newly added network token. The bouncer would open<br>&lt;-psyBNC&gt; a second outgoing connection and relay it to your single client connection<br>&lt;-psyBNC&gt; by prefixing Users and channels with the network token. Channel #sausage<br>&lt;-psyBNC&gt; would be on that network #Ef'#sausage. Nicks also get prefixed, so the<br>&lt;-psyBNC&gt; User johndoe on EfNet would appear as Ef'johndoe.<br>&lt;-psyBNC&gt; Every command can be prefixed with the network token and would then be<br>&lt;-psyBNC&gt; executed for your networked client.<br>&lt;-psyBNC&gt; See also: DELNETWORK<br>&lt;-psyBNC&gt; BHELP - End of help<br><br><br>What's important here is that eggdrop will not join channels that you set in psybnc, but it will join the networks.<br>So, you have to do .+chan #ef'#mychan in the bot<br><br>If you want a third or fourth etc. network(s), just keep adding them with their respective prefixes.<br>e.g. addnetwork fn, addnetwork dn, etc.<br><br>SWITCHNETWORK is best avoided as it will confuse the bot.<br>So pick a base network that needs no prefix, then add the other networks with prefixes.<br><br><br>More perks to using psybnc with eggdrop is that you can also use the PROXY and BVHOST commands.<br>For example if too many people from your shell host are connecting to a network, you can use<br>one of your shell's vhosts easily.<br>If you have working proxies you can use those too.<br>Examples:<br>proxy 11.22.33.44:2222<br>proxy ef'11.22.33.44:2222<br>proxy dn'11.22.33.44:2222<br><br>bvhost my.cool.host<br>bvhost ef'my.cool.host<br>bvhost dn'my.cool.host<br><br>JUMP also works the same way.<br>jump<br>jump ef'<br>jump dn'<br><br><br>So that's the general idea.<br>Using psybnc with eggdrop can be a lot of fun and more flexible.<br><br>This should be enough to get you running on multiple networks but you may have to experiment a bit with settings.<br>It's the same concept as connecting eggdrop to psybnc on only one network, but expanded to use the addnetwork function in psybnc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12705">surfist</a> — Sun Jul 30, 2017 4:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
