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

	<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>2004-08-05T21:45:28-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-05T21:45:28-04:00</updated>

		<published>2004-08-05T21:45:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39535#p39535</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39535#p39535"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39535#p39535"><![CDATA[
Hmmm, I was expecting maybe u'd know C user.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br>Anyway nevermind... I think I'll let it pass, I guess. <br><br>Yes maybe I can develop a tcl for this, using chanserv unban #chan $botnick and then a utimer to rejoin, nothing more than that.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> <br><br>Thanks anyway!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 05, 2004 9:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-05T21:34:24-04:00</updated>

		<published>2004-08-05T21:34:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39534#p39534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39534#p39534"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39534#p39534"><![CDATA[
You can't change the interval by changing a single value (well, you can make it do it every second instead of every minute, but that's too fast, and you'd mess up alot of other stuff), so I guess making a tcl would be easier...or find someone that knows a bit of C <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>If this was slashdot, you'd be modded -1 offtopic  <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=2878">user</a> — Thu Aug 05, 2004 9:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-05T21:24:11-04:00</updated>

		<published>2004-08-05T21:24:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39533#p39533</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39533#p39533"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39533#p39533"><![CDATA[
Here is the reply to my thread posted by BarkerJr.<br><blockquote class="uncited"><div>BarkerJr barkerjr at barkerjr.net <br>Mon Apr 26 11:35:52 CDT 2004 <br><br>Previous message: Eggheads: How to edit the internal channel rejoin timer on aneggdrop? <br>Next message: Eggheads: About logging in Eggdrop <br>Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] <br><br>--------------------------------------------------------------------------------<br><br>&gt; I think it is a numerical value and wouldn't take to much to do so.<br><br>Unfortunately, it isn't.  It's in a function that is called every 60 seconds.<br><br><br>&gt; I'm not sure which files this relates too but its in one of the<br>&gt; ".c" files chan.c probobaly, then again I'm not sure.<br><br>src/mod/irc.mod/irc.c<br>Starting on line 677 in 1.6.16rc1.<br><br>    } else if (!channel_inactive(chan) &amp;&amp; !channel_pending(chan))<br>      dprintf(DP_MODE, "JOIN %s %s\n",<br>              (chan-&gt;name[0]) ? chan-&gt;name : chan-&gt;dname,<br>              chan-&gt;channel.key[0] ? chan-&gt;channel.key : chan-&gt;key_prot);<br><br><br>Myself, I'd probably just declare a static char as a counter in that if<br>statement.  For example, if you want it every 7 minutes.<br><br>    } else if (!channel_inactive(chan) &amp;&amp; !channel_pending(chan)) {<br>      static unsigned char ctr;<br>      if (ctr &gt;= 7)<br>      {<br>        dprintf(DP_MODE, "JOIN %s %s\n",<br>                (chan-&gt;name[0]) ? chan-&gt;name : chan-&gt;dname,<br>                chan-&gt;channel.key[0] ? chan-&gt;channel.key : chan-&gt;key_prot);<br>        ctr = 0;<br>      }<br>      else ctr++;<br>    }<br><br><br>On second thought, the code is flawed.  With this code, it'll only rejoin every seventh channel in the bot.  But, anyways, you get the idea <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 05, 2004 9:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-05T21:07:44-04:00</updated>

		<published>2004-08-05T21:07:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39532#p39532</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39532#p39532"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39532#p39532"><![CDATA[
<blockquote class="uncited"><div><strong class="text-strong">user</strong> one more thing if I may add.<br>I am trying to change the channel join interval of the bot.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>[1] Suppose, if the bot is banned and kick from a channel, then unbanned the bot takes sometime 10-20 secs to rejoin the back, sometimes less sometimes more, depending upon a continuous timer. Now in which file can I edit this. I can't seem to find it.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>[2] I also want to edit the delay timers of need-op, need-unban, need-invite, need-limit and need-key and make them faster.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><br>If you have any idea regarding this let me know.<br>I asked the eggheads development team, they gave me a reply which was weird, and I was unable to do what they had implemented me to do so.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"></div></blockquote>They're all the same (except for need-op), triggered by the bot trying to rejoin the channel. Are you sure you want to speed up this JOIN-hammering? I'm not sure where the interval is specified. What did the eggheads say?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Aug 05, 2004 9:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-05T20:53:03-04:00</updated>

		<published>2004-08-05T20:53:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39531#p39531</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39531#p39531"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39531#p39531"><![CDATA[
<strong class="text-strong">user</strong> one more thing if I may add.<br>I am trying to change the channel join interval of the bot.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>[1] Suppose, if the bot is banned and kick from a channel, then unbanned the bot takes sometime 10-20 secs to rejoin the back, sometimes less sometimes more, depending upon a continuous timer. Now in which file can I edit this. I can't seem to find it.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>[2] I also want to edit the delay timers of need-op, need-unban, need-invite, need-limit and need-key and make them faster.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> <br><br>If you have any idea regarding this let me know.<br>I asked the eggheads development team, they gave me a reply which was weird, and I was unable to do what they had implemented me to do so.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 05, 2004 8:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-05T20:45:53-04:00</updated>

		<published>2004-08-05T20:45:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39530#p39530</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39530#p39530"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39530#p39530"><![CDATA[
<blockquote class="uncited"><div>i read about editing the server mod and recompiling, however this is something i would prefer to aviod</div></blockquote>That's the only way to get rid of the 2 sec delay/512 bytes.<br>Edit server.c (about line 123): #define msgrate 2<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Aug 05, 2004 8:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-08-05T20:38:20-04:00</updated>

		<published>2004-08-05T20:38:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39528#p39528</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39528#p39528"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39528#p39528"><![CDATA[
Try using, putquick with -next, atleast the messages will be stacked and<br>sent correctly. Using raw sometimes causes problems as well.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><br>Putdccraw has almost the same time interval to reach the server as putquick. Sometimes... infact most of the time my putdccraw outputs are  slower than putquick -next.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>So use putquick -next, because putdccraw isn't very fast than putquick, they are almost the same as far as speed goes... If there is a difference maybe in mirco/nano seconds which is almost negligble.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Aug 05, 2004 8:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-08-05T09:15:35-04:00</updated>

		<published>2004-08-05T09:15:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39508#p39508</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39508#p39508"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39508#p39508"><![CDATA[
Well, i guess im still missing something, because i have read that thread before, and asked basically the same question in there...  However the use of putdccraw still fails to improve anything when sending several lines of text to a channel or user.  And my question was never really answered there also.  Maybe i am misunderstanding the concept/use of putdccraw?  I don't know, if somebody could explain why i am not experiencing any improvements with this whilst others are it would be very helpful.  Or suggest another method of sending several lines of text without delay?  (i read about editing the server mod and recompiling, however this is something i would prefer to aviod)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Thu Aug 05, 2004 9:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-08-05T05:59:44-04:00</updated>

		<published>2004-08-05T05:59:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39504#p39504</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39504#p39504"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39504#p39504"><![CDATA[
<a href="http://forum.egghelp.org/viewtopic.php?p=39016#39016" class="postlink">click</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu Aug 05, 2004 5:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DayCuts]]></name></author>
		<updated>2004-08-05T03:19:15-04:00</updated>

		<published>2004-08-05T03:19:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39500#p39500</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39500#p39500"/>
		<title type="html"><![CDATA[putdccraw question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39500#p39500"><![CDATA[
Ok, ive browsed through the forums for a way to 'bypass' the msgq's built into eggdrop and everything points to using putdccraw.  However when i use a simple while loop and code such as (for example) below it does not seem to bypass these msgq's like it should.<br><div class="codebox"><p>Code: </p><pre><code>set i 0while {10 &gt; $i} {  set out "PRIVMSG $nick :test $i\n"   putdccraw 0 [string length $out] $out  incr i}</code></pre></div>Theoredically, and according to what i have read on the forums, this should send all 10 lines of text to $nick without delay, but what i am seing is the first 4 lines being sent and the rest sent on delay (exactly as putquick would)<br><br>I do not need to worry about being flooded off, as the script is intended to be run on a network admin bot for an ircd.  (opered users on the ircd are not affected by such flood limits)<br><br>Am i doing something wrong? am i missing something?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5073">DayCuts</a> — Thu Aug 05, 2004 3:19 am</p><hr />
]]></content>
	</entry>
	</feed>
