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

	<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>2010-08-22T14:01:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2010-08-22T14:01:04-04:00</updated>

		<published>2010-08-22T14:01:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94060#p94060</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94060#p94060"/>
		<title type="html"><![CDATA[Remove username on massban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94060#p94060"><![CDATA[
Since it can't detect who placed the ban unless the bot is kicked by X, the next piece of code will do just that: when kicked tough X it will tell it to remove the user from it's channel user list.<div class="codebox"><p>Code: </p><pre><code>bind kick * * my:kickproc my:kick {nick uhost hand chan vict reas} {if {![isbotnick $vict] || $nick != "X"} return set kicker [string trim [lindex [split $reas] 0] {()}] putquick "PRIVMSG X :REMOVE $chan $kicker" -next}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Aug 22, 2010 2:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[samhain]]></name></author>
		<updated>2010-08-21T16:27:24-04:00</updated>

		<published>2010-08-21T16:27:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94042#p94042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94042#p94042"/>
		<title type="html"><![CDATA[Remove username on massban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94042#p94042"><![CDATA[
Hi I need a simple tcl if a user bans *!*@* from X username I mean mass ban which is popular on undernet<br>/msg X ban #channel *!*@* <br>then the bot should remove that username immidiately from the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8567">samhain</a> — Sat Aug 21, 2010 4:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
