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

	<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>2008-03-04T04:14:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[toxicpc]]></name></author>
		<updated>2008-03-04T04:14:49-04:00</updated>

		<published>2008-03-04T04:14:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81418#p81418</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81418#p81418"/>
		<title type="html"><![CDATA[Stop rejoin when kicked]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81418#p81418"><![CDATA[
Nope i didnt, that was the problem. Thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9740">toxicpc</a> — Tue Mar 04, 2008 4:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-03-04T03:49:59-04:00</updated>

		<published>2008-03-04T03:49:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81417#p81417</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81417#p81417"/>
		<title type="html"><![CDATA[Stop rejoin when kicked]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81417#p81417"><![CDATA[
Did you place a } on the next line after the channel set line, as in iamdeath's example?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Mar 04, 2008 3:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[toxicpc]]></name></author>
		<updated>2008-03-04T03:44:08-04:00</updated>

		<published>2008-03-04T03:44:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81416#p81416</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81416#p81416"/>
		<title type="html"><![CDATA[Stop rejoin when kicked]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81416#p81416"><![CDATA[
I have tried the code but I cant get it to work, when starting the eggdrop it gives this error: <br><br><br>[07:36] Tcl error in file 'l5.conf':<br>[07:36] missing close-brace<br>    while executing<br>"proc bot:kick {nick uhost hand chan target reason} {<br>global botnick<br>     if {$target != $botnick} {return 0}<br>     channel set $chan +inactive"<br>    (file "scripts/noautorejoin.tcl" line 2)<br>    invoked from within<br>"source scripts/noautorejoin.tcl"<br>    (file "l5.conf" line 1319)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9740">toxicpc</a> — Tue Mar 04, 2008 3:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[toxicpc]]></name></author>
		<updated>2008-03-04T03:30:38-04:00</updated>

		<published>2008-03-04T03:30:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81415#p81415</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81415#p81415"/>
		<title type="html"><![CDATA[Stop rejoin when kicked]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81415#p81415"><![CDATA[
ok Thanks for the answers. The problem was im using Metroid's request script but if people don't want the bot in their channel anymore they have to ban it. <br><br>I will try that piece of code iamdeath, thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9740">toxicpc</a> — Tue Mar 04, 2008 3:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2008-03-04T02:23:06-04:00</updated>

		<published>2008-03-04T02:23:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81414#p81414</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81414#p81414"/>
		<title type="html"><![CDATA[Re: Stop rejoin when kicked]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81414#p81414"><![CDATA[
<blockquote class="uncited"><div>How can I stop my bot from rejoining a channel that it is kicked from? </div></blockquote>Try this code:<br><div class="codebox"><p>Code: </p><pre><code>bind kick - * bot:kickproc bot:kick {nick uhost hand chan target reason} {global botnick     if {$target != $botnick} {return 0}     channel set $chan +inactive}</code></pre></div>If the bot is kicked, this code will make that channel <em class="text-italics">+inactive</em> and then to make it rejoin, you will have to type this in your DCC:<br><div class="codebox"><p>Code: </p><pre><code>.chanset #Channel -inactive</code></pre></div>Hope this will solve your problem.<br><br>peace<br>death<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Tue Mar 04, 2008 2:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2008-03-03T21:31:15-04:00</updated>

		<published>2008-03-03T21:31:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81411#p81411</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81411#p81411"/>
		<title type="html"><![CDATA[Stop rejoin when kicked]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81411#p81411"><![CDATA[
Well, it's actually designed to join a channel that it has been placed in. One would expect it would not be kicked anyway; if so, as per any other user on IRC, it would rejoin.<br><br>Editing the source or finding a scripting solution may be your choices.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Mar 03, 2008 9:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[toxicpc]]></name></author>
		<updated>2008-03-03T13:54:13-04:00</updated>

		<published>2008-03-03T13:54:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81397#p81397</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81397#p81397"/>
		<title type="html"><![CDATA[Stop rejoin when kicked]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81397#p81397"><![CDATA[
How can I stop my bot from rejoining a channel that it is kicked from? <br><br>I have searched the forums and read conf file but I cant find an option to stop it. <br><br>Thanks for help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9740">toxicpc</a> — Mon Mar 03, 2008 1:54 pm</p><hr />
]]></content>
	</entry>
	</feed>
