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

	<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-03-03T02:02:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Mash]]></name></author>
		<updated>2005-03-03T02:02:59-04:00</updated>

		<published>2005-03-03T02:02:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47141#p47141</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47141#p47141"/>
		<title type="html"><![CDATA[join part and ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47141#p47141"><![CDATA[
Thanks It worked <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=4991">Mash</a> — Thu Mar 03, 2005 2:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-03-02T08:18:17-04:00</updated>

		<published>2005-03-02T08:18:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47127#p47127</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47127#p47127"/>
		<title type="html"><![CDATA[join part and ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47127#p47127"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind part - * ban:flybyproc ban:flyby {nick uhost hand chan arg} {if {[getchanjoin $nick $chan] &gt;= [expr {[clock seconds]-3}]} {putquick "MODE $chan +b *!*@[lindex [split $uhost @] 1]" }}</code></pre></div>This will ban nick if he joins and parts after 3 or less seconds.<br>Use it as a start and next time ask here not in private.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Mar 02, 2005 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-03-01T15:41:25-04:00</updated>

		<published>2005-03-01T15:41:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47113#p47113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47113#p47113"/>
		<title type="html"><![CDATA[join part and ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47113#p47113"><![CDATA[
You can bind on part and check how long did nick stay in channel before parting:<div class="codebox"><p>Code: </p><pre><code>if {[getchanjoin $nick $chan] &gt;= [expr {[clock seconds]-3}]} {</code></pre></div>this detects if nick parted the channel after 3 or less seconds from joining.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Mar 01, 2005 3:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-03-01T10:23:29-04:00</updated>

		<published>2005-03-01T10:23:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47101#p47101</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47101#p47101"/>
		<title type="html"><![CDATA[join part and ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47101#p47101"><![CDATA[
i have done something similar in my anti-autorejoin script.<br>on join create a "bind part - $nick!$uhost trigger:bind" and create a timer like "utimer 3 [list remove:bind $nick!$uhost]". on part bind just ban him, in the timered action unbind whole thing from the person.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Tue Mar 01, 2005 10:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Mash]]></name></author>
		<updated>2005-03-01T10:17:11-04:00</updated>

		<published>2005-03-01T10:17:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47099#p47099</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47099#p47099"/>
		<title type="html"><![CDATA[join part and ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47099#p47099"><![CDATA[
i need a script which auto-voices users on joining a particular chan and if a user joins and parts between 3 seconds it jus places a ban on his ip for 5 mins or so <br>can anyone write that code for me i jus know the code till autovoicein rest i dnno how to code.<br>thanks in advance.<br>Mash<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4991">Mash</a> — Tue Mar 01, 2005 10:17 am</p><hr />
]]></content>
	</entry>
	</feed>
