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

	<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>2003-10-18T12:14:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-10-18T12:14:32-04:00</updated>

		<published>2003-10-18T12:14:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28640#p28640</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28640#p28640"/>
		<title type="html"><![CDATA[detecting the bot has been banned]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28640#p28640"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind mode - "* +b" bot:bannedproc bot:banned {nick uhost hand chan mc ban} {global botname if {![string match -nocase $ban $botname]} {return 0}#your code here}</code></pre></div>if the ban doesn't match the bot's host, then the code won't be applied.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Oct 18, 2003 12:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[matt2kjones]]></name></author>
		<updated>2003-10-18T08:39:48-04:00</updated>

		<published>2003-10-18T08:39:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28638#p28638</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28638#p28638"/>
		<title type="html"><![CDATA[detecting the bot has been banned]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28638#p28638"><![CDATA[
how do you detect the bot has been banned with tcl<br><br>yesterday i wrote a script which prevents a channel take over by an untrusty op<br><br>the bot authenticates with the irc server when it connects and becomes an oper, it then op's itself<br><br>anyone who sets any modes it doesn't like will get banned and kicked, and the modes removed.<br><br>the bot can remove modes and ban people from outside of the room, and when gets back into the room, and gets op, will then kick the users.<br><br>now there is one flaw, if the bot is banned and immediantly kicked, it can remove all the modes that the users set, BUT, it cant get back into the channel, to op itself, and kick the users<br><br>now i would just bind to a +b mode change, but what if the user only bans the bots host, or part of it, there is not really anyway from that to tell if it is infact the bot that has been banned.<br><br>any ideas?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2662">matt2kjones</a> — Sat Oct 18, 2003 8:39 am</p><hr />
]]></content>
	</entry>
	</feed>
