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

	<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-12-06T14:14:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[silenus]]></name></author>
		<updated>2008-12-06T14:14:05-04:00</updated>

		<published>2008-12-06T14:14:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86103#p86103</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86103#p86103"/>
		<title type="html"><![CDATA[Question about onchan and netsplits]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86103#p86103"><![CDATA[
Many thanks nml375 - I am just starting on writing these scripts  - I had not noticed that command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9604">silenus</a> — Sat Dec 06, 2008 2:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-12-06T13:39:32-04:00</updated>

		<published>2008-12-06T13:39:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86101#p86101</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86101#p86101"/>
		<title type="html"><![CDATA[Question about onchan and netsplits]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86101#p86101"><![CDATA[
<strong class="text-strong">onchan</strong> does indeed "see" netsplit'd nicks. You'll have to add an additional check for split'd nicks (see the <strong class="text-strong">onchansplit</strong> command for this, documented in the tcl-commands.doc file accompanying your eggdrop)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Dec 06, 2008 1:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[silenus]]></name></author>
		<updated>2008-12-06T12:33:30-04:00</updated>

		<published>2008-12-06T12:33:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86098#p86098</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86098#p86098"/>
		<title type="html"><![CDATA[Question about onchan and netsplits]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86098#p86098"><![CDATA[
Does onchan see nicks which are absent due to a netsplit?<br><br>I have a trivia bot ("Bot_A" with an alternate nick "Bot_A_Backup"), and another bot ("Bot_B"), which is on the channel to do other things.  Sometimes Bot_A  stalls and it nice to have Bot_B force a restart. It issues a restart command when Bot_A has been silent for 3 minutes.<br><br>I do not, however, want Bot_B issuing restarts if Bot_A has disappeared due to a netsplit or for some other reason.  I am using following code, but Bot B is issuing a restart during netsplits, when neither Bot_A nor Bot_A_Backup is on the channel.<br><br>If onchan is not seeing the absent nicks, then am I making some stupid error here?<br><div class="codebox"><p>Code: </p><pre><code>proc botsilent {} {if { [onchan "Bot_A" "#game"] || [onchan "Bot_A_Backup" "#game"] } {putserv "PRIVMSG #game :!trivia"}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9604">silenus</a> — Sat Dec 06, 2008 12:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
