<?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/20010" />

	<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>2015-07-11T11:06:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Get_A_Fix]]></name></author>
		<updated>2015-07-11T11:06:18-04:00</updated>

		<published>2015-07-11T11:06:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104289#p104289</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104289#p104289"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104289#p104289"><![CDATA[
For autobotchk, you also need to set the nickname of the bot to be different, along with the botname.conf file.<br><br>This way, it will be able to use that as the descriptor.<br>IE:<ul> <li>./autobotchk firstbot.conf -dir /home/myhome/eggdrop -noemail<br>./autobotchk secondbot.conf -dir /home/myhome/eggdrop -noemail</li></ul>AFAIK, it reads the set nickname, to associate the crontab to.<br><div class="codebox"><p>Code: </p><pre><code>istok@matrix:~$ crontab -l0,10,20,30,40,50 * * * * /home/istok/eggdrop/Dog_Matix.botchk &gt;/dev/null 2&gt;&amp;10,10,20,30,40,50 * * * * /home/istok/eggdrop/chatbox.botchk &gt;/dev/null 2&gt;&amp;10,10,20,30,40,50 * * * * /home/istok/eggdrop/abusive.botchk &gt;/dev/null 2&gt;&amp;10,10,20,30,40,50 * * * * /home/istok/eggdrop/Get_A_Fix.botchk &gt;/dev/null 2&gt;&amp;1istok@matrix:~$</code></pre></div>Each of those are the nicks of my bots.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6204">Get_A_Fix</a> — Sat Jul 11, 2015 11:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2015-07-05T04:45:45-04:00</updated>

		<published>2015-07-05T04:45:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104284#p104284</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104284#p104284"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104284#p104284"><![CDATA[
In this <a href="http://forum.egghelp.org/viewtopic.php?t=12013" class="postlink">post</a> I found the solution.<blockquote class="uncited"><div>put in a script that makes:<br>cd /home/user/eggdrop<br>su user -c ./eggdrop</div></blockquote> In my case I have 2 bots I guess it should be:<div class="codebox"><p>Code: </p><pre><code>cd /home/juanamores/eggdropsu juanamores -c ./eggdrop eggdrop.confsu juanamores -c ./eggdrop eggdrop2.conf</code></pre></div>Await opinions .....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Sun Jul 05, 2015 4:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2015-07-03T15:23:37-04:00</updated>

		<published>2015-07-03T15:23:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104283#p104283</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104283#p104283"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104283#p104283"><![CDATA[
<blockquote class="uncited"><div>Try it.  Experiment.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>...</div></blockquote>To try would have to reboot my server and bring down everything that is in it. I think it is better to wait one day fails VPS and watch the behavior of the rc.local file.<br><br>If anyone knows the correct syntax and proven to be put in the rc.local file could share in this thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Fri Jul 03, 2015 3:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2015-07-02T08:19:52-04:00</updated>

		<published>2015-07-02T08:19:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104282#p104282</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104282#p104282"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104282#p104282"><![CDATA[
<blockquote class="uncited"><div>....<br>You can put the Bot.botchk there?</div></blockquote>Try it.  Experiment.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>When I make a mistake when writing a script, and crash the bot - for some reason I now have the habit of running the botchk file, to start the bot again.<br>I suppose that is what made me think of it.<br><br>It probably doesn't matter which way you choose to do it.  Whatever works, and suits you.  <br><br>Perhaps somebody else will care to comment on it here, too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Thu Jul 02, 2015 8:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2015-07-02T01:20:52-04:00</updated>

		<published>2015-07-02T01:20:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104280#p104280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104280#p104280"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104280#p104280"><![CDATA[
<blockquote class="uncited"><div>Why do this command?   "eggdrop eggdrop2.conf"     Why not just run the Bot.botchk file ?     ... just something to think about.</div></blockquote> I thought you could only put eggdrop executable (./eggdrop eggdrop.conf).<br>You can put the Bot.botchk there?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Thu Jul 02, 2015 1:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2015-07-01T22:18:04-04:00</updated>

		<published>2015-07-01T22:18:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104279#p104279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104279#p104279"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104279#p104279"><![CDATA[
<blockquote class="uncited"><div>Thanks <strong class="text-strong">willyw</strong> fixed!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br></div></blockquote>That is good to know.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div> Another doubt that posted in another thread and I got no answer:<br>For the bot to run when you start the operating system, I found this info, not if it is correct, you tell me if it's okay right?<br>We must change the rc.local file located in the following path /etc/rc.local <div class="codebox"><p>Code: </p><pre><code># cat /etc/rc.local#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff. /home/juanamores/eggdrop/eggdrop eggdrop.conf /home/juanamores/eggdrop/eggdrop eggdrop2.conf</code></pre></div>It is correct syntax of the last 2 lines?</div></blockquote><br><br>I can't say for sure,  because I don't concern myself with it.   If the server goes down, and is eventually re-started,  my bots eventually come back up due to crontab entries, like we have just discussed.   That's good enough for me.<br><br>I'd have to research what you are doing - and you can do that just as well as I.<br><br>One thought though:<br>Why do this command?   "eggdrop eggdrop2.conf"     Why not just run the Bot.botchk file ?     ... just something to think about.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Wed Jul 01, 2015 10:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2015-07-01T21:38:08-04:00</updated>

		<published>2015-07-01T21:38:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104278#p104278</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104278#p104278"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104278#p104278"><![CDATA[
Thanks <strong class="text-strong">willyw</strong> fixed!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br> Another doubt that posted in another thread and I got no answer:<br>For the bot to run when you start the operating system, I found this info, not if it is correct, you tell me if it's okay right?<br>We must change the rc.local file located in the following path /etc/rc.local <div class="codebox"><p>Code: </p><pre><code># cat /etc/rc.local#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff. /home/juanamores/eggdrop/eggdrop eggdrop.conf /home/juanamores/eggdrop/eggdrop eggdrop2.conf</code></pre></div>It is correct syntax of the last 2 lines?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Wed Jul 01, 2015 9:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2015-06-30T23:50:27-04:00</updated>

		<published>2015-06-30T23:50:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104277#p104277</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104277#p104277"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104277#p104277"><![CDATA[
Examine .conf file for both bots, and find:<br>#set botnet-nick "LlamaBot"<br><br><br>That is the default line.<br><br>In both .conf files, are both set to the same ?<br>I believe that would cause the behavior you are experiencing. <br><br>In one .conf file do something like:<br>set botnet-nick "Bot1"<br>and the other do:<br>set botnet-nick "Bot2"<br><br>( I would use the real nicks of each bot)<br><br>and try again.<br><br>Let us know if that lets autobotchk make two lines in crontab, one for each bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Jun 30, 2015 11:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2015-06-30T21:30:16-04:00</updated>

		<published>2015-06-30T21:30:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104276#p104276</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104276#p104276"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104276#p104276"><![CDATA[
There is a problem with <em class="text-italics">autobotchk</em>.<br>I added 2 bots and <em class="text-italics">botck</em> I have added to this:<blockquote class="uncited"><div>./autobotchk eggdrop.conf -noemail -5<br>./autobotchk eggdrop2.conf -noemail -5</div></blockquote>Each conf belongs to each of the bots.<br>Accepts the command, but only by the VPS cron process is displayed, the file is overwritten, leaving only the last <em class="text-italics">autobotck</em> created.<br>I tried creating a separate file for both bots <em class="text-italics">botck</em> called botchk and botchk2<br>Then...<blockquote class="uncited"><div>./autobotchk eggdrop.conf -noemail -5<br>./autobotchk2 eggdrop2.conf -noemail -5</div></blockquote>But when viewing  cron  from VPS withcrontab -l command displays only one  because a new file called BOT.botchk is created, and this, it turns to overwrite the last autobotchk created.<blockquote class="uncited"><div>[juanamores@vps174886 eggdrop]$ crontab -l<br>0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/juanamores/eggdrop/BOT.botchk &gt;/dev/null 2&gt;&amp;1</div></blockquote>Is There a solution to accept both cron for each of the bots?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Tue Jun 30, 2015 9:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2015-06-30T16:56:07-04:00</updated>

		<published>2015-06-30T16:56:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104275#p104275</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104275#p104275"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104275#p104275"><![CDATA[
Forget to specifically mention the <br>listen<br>port.  But if you are thinking, as you edit each of the .conf files, you will realize that each bot must have a unique listen port configured.<br><br>I hope it all works well for you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Jun 30, 2015 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2015-06-30T15:05:32-04:00</updated>

		<published>2015-06-30T15:05:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104274#p104274</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104274#p104274"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104274#p104274"><![CDATA[
Perfect <strong class="text-strong">willyw</strong>, I'm going to make the recommended way.<br>My idea is to divide the functions (tcls) in 2 bots eggdrop because one has lag (dislay) in certain commands.<br>I think if I use two different bots, diminish them lag caused by having too many functions into one.<br>If new questions arise me in practice the'll ask for this thread.<br>Thank You <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Tue Jun 30, 2015 3:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2015-06-30T02:54:40-04:00</updated>

		<published>2015-06-30T02:54:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104273#p104273</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104273#p104273"/>
		<title type="html"><![CDATA[Re: Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104273#p104273"><![CDATA[
<blockquote class="uncited"><div>I want to put 2 bots eggdrops on the same server (VPS).<br>The questions I have are:<br>1) I must install and compile the new eggdrop bot for the new?</div></blockquote>No.<br><blockquote class="uncited"><div>2) I can be installed on a different path or process eggdrop different name?  <span style="color:blue"><strong class="text-strong">botchk</strong></span> tcl, how distinguishes to both processes eggdrop?<br></div></blockquote>One of the things that must be configured in the botchk file is the name of the .conf file used to run the bot.<br><br><br>To run two or more bots (assuming your provider does not care) you simply need to create a new <br>eggdrop.conf<br>file for each bot.   As you edit it, keep it in mind, that there will be more than one bot running now.<br>For example,  I would want to change this default line:<br>logfile mco * "logs/eggdrop.log"<br>as I wouldn't want two or more bots using the same file.<br><br>I suggest that for file naming, for each eggdrop.conf you have, use the bot's nickname as the filename.   As in<br>ChanBot.conf<br>Jalapeno.conf<br>It just makes it easier to manage.<br><br>Then, with just one compile and installation, you can do:<br>./eggdrop ChanBot.conf<br>and <br>./eggdrop Jalapeno.conf<br><br>thus running two bots from one installation.<br>Use<br>ps x<br>to see them.<br><br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Jun 30, 2015 2:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2015-06-29T22:30:40-04:00</updated>

		<published>2015-06-29T22:30:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104272#p104272</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104272#p104272"/>
		<title type="html"><![CDATA[Two eggdrop in the same VPS]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104272#p104272"><![CDATA[
I want to put 2 bots eggdrops on the same server (VPS).<br>The questions I have are:<br>1) I must install and compile the new eggdrop bot for the new?<br>2) I can be installed on a different path or process eggdrop different name?  <span style="color:blue"><strong class="text-strong">botchk</strong></span> tcl, how distinguishes to both processes eggdrop?<br><br>I apologize for my bad English, I hope you understand the questions.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Mon Jun 29, 2015 10:30 pm</p><hr />
]]></content>
	</entry>
	</feed>
