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

	<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>2005-05-19T22:44:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[SiNLeSs]]></name></author>
		<updated>2005-05-19T22:44:00-04:00</updated>

		<published>2005-05-19T22:44:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49624#p49624</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49624#p49624"/>
		<title type="html"><![CDATA[/who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49624#p49624"><![CDATA[
I edited this out, and I still get Max SendQ exceeded...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6227">SiNLeSs</a> — Thu May 19, 2005 10:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kurupt]]></name></author>
		<updated>2004-12-28T14:51:03-04:00</updated>

		<published>2004-12-28T14:51:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44608#p44608</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44608#p44608"/>
		<title type="html"><![CDATA[neah]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44608#p44608"><![CDATA[
i don't use enforcebans so if no other problem is then will work fine for me. thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5355">Kurupt</a> — Tue Dec 28, 2004 2:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-27T20:39:19-04:00</updated>

		<published>2004-12-27T20:39:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44587#p44587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44587#p44587"/>
		<title type="html"><![CDATA[/who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44587#p44587"><![CDATA[
Heres my simple version of +enforcebans, anyone can feel free to use it, ofcourse it's not in the best of shape. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><div class="codebox"><p>Code: </p><pre><code>####### FILTER KICK ########bind mode - "*+b*" filter:kickproc filter:kick {nick uhost chan mode target} { global botnick botname if {([string equal "*!*@*" $target]) || ([string equal "*!~*@*" $target]) || ([string match "*\?*!*@*" $target]) || ([string match "*!*\?*@*" $target]) || ([lindex [split $target "@"] 1] &lt; 5)} { return 0 } if {([string match "*+b*" $mode]) &amp;&amp; (![string equal "ChanServ" $nick]) &amp;&amp; (![string match -nocase *$target* $botname])} { foreach user [chanlist $chan] {  if {([string match -nocase *$target* "${user}![getchanhost $user $chan]"]) &amp;&amp; (![isop $user $chan]) &amp;&amp; (![isvoice $user $chan]) &amp;&amp; ([onchan $user $chan])} {   putquick "KICK $chan $user :T3: You are terminated - Copyright © 2004 awyeah Inc. All rights reserved." -next   }  }; return 0 }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Dec 27, 2004 8:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrzychuG]]></name></author>
		<updated>2004-12-27T11:13:50-04:00</updated>

		<published>2004-12-27T11:13:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44575#p44575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44575#p44575"/>
		<title type="html"><![CDATA[/who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44575#p44575"><![CDATA[
Yes, you're right, but in both methods you're loosing important (at least for me) features, like for example working enforcebans.<br><blockquote class="uncited"><div>it's your choice  or rather his/her choice (hmm anyone knows a girl running eggdrop?)</div></blockquote>I knew one, she used one of Eggdrop's modification but she probably started with vanilla version too :)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3672">KrzychuG</a> — Mon Dec 27, 2004 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-27T10:25:13-04:00</updated>

		<published>2004-12-27T10:25:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44570#p44570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44570#p44570"/>
		<title type="html"><![CDATA[/who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44570#p44570"><![CDATA[
<blockquote class="uncited"><div>If you remove 'WHO' code from Eggdrop bot won't know which users are on channel. Bot won't also know their hostnames and won't react on bans, won't op them and so on.</div></blockquote>depends <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>if you remove just reset_chan_info() from that specific gotjoin() branch, it will behave exactly like mIRC - not synching its internal client structures on JOIN - but you can always enforce such synching by calling [resetchan] from a script<br><br>if you remove that WHO from reset_chan_info(), it will lose the ability to sync - though you might still be able to enforce sync by issuing raw WHO #chan; that's why I said that would screw other things <br><br>it's your choice <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> or rather his/her choice (hmm anyone knows a girl running eggdrop?)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Dec 27, 2004 10:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrzychuG]]></name></author>
		<updated>2004-12-27T08:55:55-04:00</updated>

		<published>2004-12-27T08:55:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44565#p44565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44565#p44565"/>
		<title type="html"><![CDATA[/who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44565#p44565"><![CDATA[
If you remove 'WHO' code from Eggdrop bot won't know which users are on channel. Bot won't also know their hostnames and won't react on bans, won't op them and so on.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3672">KrzychuG</a> — Mon Dec 27, 2004 8:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-26T23:02:06-04:00</updated>

		<published>2004-12-26T23:02:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44546#p44546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44546#p44546"/>
		<title type="html"><![CDATA[Re: /who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44546#p44546"><![CDATA[
<blockquote class="uncited"><div>I have a problem. My bots need to join a big channel, big means 900+ ppl on chan. And wen the bot join he do a /who #chan and that make im to get ping timeout. So my question does somebody know how to stop to do /who #chan when he joins or have somebody a patch for something like that.</div></blockquote>in src/mod/irc.mod/chan.c find this in gotjoin():<div class="codebox"><p>Code: </p><pre><code>        if (match_my_nick(nick)) {          /* It was me joining! Need to update the channel record with the           * unique name for the channel (as the server see's it). &lt;cybah&gt;           */          strncpy(chan-&gt;name, chname, 81);          chan-&gt;name[80] = 0;          chan-&gt;status &amp;= ~CHAN_JUPED;          /* ... and log us joining. Using chan-&gt;dname for the channel is           * important in this case. As the config file will never contain           * logs with the unique name.           */          if (chname[0] == '!')            putlog(LOG_JOIN | LOG_MISC, chan-&gt;dname, "%s joined %s (%s)",                   nick, chan-&gt;dname, chname);          else            putlog(LOG_JOIN | LOG_MISC, chan-&gt;dname, "%s joined %s.", nick,                   chname);          reset_chan_info(chan);        } else {</code></pre></div>and remove reset_chan_info(chan);<br><br>alternatively, you can edit src/mod/irc.mod/irc.c and remove<div class="codebox"><p>Code: </p><pre><code>dprintf(DP_MODE, "WHO %s\n", chan-&gt;name);</code></pre></div>from reset_chan_info(), but that would mess other things up<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 26, 2004 11:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-26T22:40:14-04:00</updated>

		<published>2004-12-26T22:40:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44545#p44545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44545#p44545"/>
		<title type="html"><![CDATA[/who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44545#p44545"><![CDATA[
<blockquote class="uncited"><div>As for /who, the eggdrop doesn't do a /who #channel when they join a channel (else if you are using some tcl which intentionaly does a channel who on join).</div></blockquote>yes it does<br><br>you ever took a peek at the source?<br><blockquote class="uncited"><div>They just /list #channel get the nicknames present in a channel as when a normal user, using a mirc client joins a channel and gets the nicks listed in the channel.</div></blockquote>excuse me? /list to get nicks? you've been drinking too much this xmas <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>no, they don't do /list, that command has nothing to do with nicks<br><br>neither does mIRC on join; it does /names - that's why you don't have your IAL (Internal Address List) populated until /who or /userhost; and that's why eggdrop, unlike mIRC, has its internal client structure lists populated just after the join (more precisely, on receiving End Of /WHO list numeric) - becaise it does /who #channel on join<br><blockquote class="uncited"><div>To prevent your eggdrop from pinging out, you can use anti-idle scripts:<br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=12" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... load&amp;id=12</a><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=16" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... load&amp;id=16</a><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=862" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=862</a><br><a href="http://www.egghelp.org/files/mytcl/aidle1.1.tcl.gz" class="postlink">http://www.egghelp.org/files/mytcl/aidle1.1.tcl.gz</a></div></blockquote>totally irrelevant<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 26, 2004 10:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-12-26T21:25:51-04:00</updated>

		<published>2004-12-26T21:25:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44544#p44544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44544#p44544"/>
		<title type="html"><![CDATA[/who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44544#p44544"><![CDATA[
Eggdrops don't just ping timeout like that. As for /who, the eggdrop doesn't do a /who #channel when they join a channel (else if you are using some tcl which intentionaly does a channel who on join).<br><br>They just /list #channel get the nicknames present in a channel as when a normal user, using a mirc client joins a channel and gets the nicks listed in the channel.<br><br>To prevent your eggdrop from pinging out, you can use anti-idle scripts:<br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=12" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... load&amp;id=12</a><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=16" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... load&amp;id=16</a><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=862" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=862</a><br><a href="http://www.egghelp.org/files/mytcl/aidle1.1.tcl.gz" class="postlink">http://www.egghelp.org/files/mytcl/aidle1.1.tcl.gz</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Sun Dec 26, 2004 9:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kurupt]]></name></author>
		<updated>2004-12-26T17:08:44-04:00</updated>

		<published>2004-12-26T17:08:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44538#p44538</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44538#p44538"/>
		<title type="html"><![CDATA[/who #chan when the bot joins]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44538#p44538"><![CDATA[
I have a problem. My bots need to join a big channel, big means 900+ ppl on chan. And wen the bot join he do a /who #chan and that make im to get ping timeout. So my question does somebody know how to stop to do /who #chan when he joins or have somebody a patch for something like that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5355">Kurupt</a> — Sun Dec 26, 2004 5:08 pm</p><hr />
]]></content>
	</entry>
	</feed>
