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

	<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-09-24T14:09:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-09-24T14:09:54-04:00</updated>

		<published>2005-09-24T14:09:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56059#p56059</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56059#p56059"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56059#p56059"><![CDATA[
another idea might be to sync the topic hourly.<br><br>I perosnally use an script that triggers a reset chan 5min after a rejn, so it hopefully waits until the rejoin is over and syncs the user hosts etc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Sat Sep 24, 2005 2:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2005-09-24T11:33:26-04:00</updated>

		<published>2005-09-24T11:33:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56054#p56054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56054#p56054"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56054#p56054"><![CDATA[
ok i'll bow to your superior wisdom on this.<br><br>i suppose an alternative is to have a public !topic command to reset it when needed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Sat Sep 24, 2005 11:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-24T04:44:41-04:00</updated>

		<published>2005-09-24T04:44:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56044#p56044</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56044#p56044"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56044#p56044"><![CDATA[
<blockquote class="uncited"><div>i don't know how but it does dissapear.</div></blockquote>the topic <strong class="text-strong">CANNOT</strong> disappear while there are users on the channel, even a single user. Period.<br><br>and if there are no users, there's no bind to be triggered on network rejoin, and the bot can't know if there's no topic on the rejoining server, since it even doesn't know when that server rejoins!<br><br>also, if a user has joined on the split side, on network rejoin he/she will trigger [bind join], not [bind rejn], i.e. you (or rather your bot) have no way of knowing about network rejoin - that is, unless you implement some network structure tracking in real time, using LINKS command<br><br>do you know what I'm saying?<br><br>essentially, what I'm saying is: you can always reset the topic on [bind rejn], but that would work only if you've had channel users who have splitted (but they won't lose topic anyway!); if not, it won't work, and anyone who has joined on the split or thereafter on that server will see no topic<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Sep 24, 2005 4:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2005-09-24T04:21:05-04:00</updated>

		<published>2005-09-24T04:21:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56043#p56043</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56043#p56043"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56043#p56043"><![CDATA[
i don't know how but it does dissapear.<br><br>from the nonamescript faq<br><a href="http://www.nnscript.de/faq.php" class="postlink">http://www.nnscript.de/faq.php</a><blockquote class="uncited"><div>Why don't I see the topics on some/all channels?<br>A: While many users think that this is a problem of the script they're using, it is most often caused by netsplits on the IRC network itself. If you don't see a topic, try to connect to a different server of the same network or ask a channel operator to reset the topic. It's not a NoNameScript problem!</div></blockquote>nonamescript is primarily written for quakenet i believe, maybe its a unique quakenet problem.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Sat Sep 24, 2005 4:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-24T04:14:17-04:00</updated>

		<published>2005-09-24T04:14:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56042#p56042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56042#p56042"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56042#p56042"><![CDATA[
<blockquote class="uncited"><div>i only know that topics are lost on some servers after netsplits on quakenet<br><br>is there another bind that could do it?<br><br>the split<br>[16:53] anircuser (~<a href="mailto:grep@xxxxxxxxxxxxxx.xx">grep@xxxxxxxxxxxxxx.xx</a>) got netsplit.<br><br>i was trying to catch this message<br>[16:56] anircuser (~<a href="mailto:grep@xxxxxxxxxxxxxxx.xx">grep@xxxxxxxxxxxxxxx.xx</a>) returned to #moonunittesting.<br><br>.</div></blockquote>did you understand my point?<br><br><em class="text-italics">anircuser</em> will <strong class="text-strong">NOT</strong> lose topic<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Sep 24, 2005 4:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2005-09-24T03:56:06-04:00</updated>

		<published>2005-09-24T03:56:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56040#p56040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56040#p56040"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56040#p56040"><![CDATA[
i only know that topics are lost on some servers after netsplits on quakenet<br><br>is there another bind that could do it?<br><br>the split<br>[16:53] anircuser (~<a href="mailto:grep@xxxxxxxxxxxxxx.xx">grep@xxxxxxxxxxxxxx.xx</a>) got netsplit.<br><br>i was trying to catch this message<br>[16:56] anircuser (~<a href="mailto:grep@xxxxxxxxxxxxxxx.xx">grep@xxxxxxxxxxxxxxx.xx</a>) returned to #moonunittesting.<br><br>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Sat Sep 24, 2005 3:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-24T03:38:56-04:00</updated>

		<published>2005-09-24T03:38:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56037#p56037</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56037#p56037"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56037#p56037"><![CDATA[
but topic will be lost only if there are no channel users on the server that splits (in which case the channel will be recreated on network rejoin), and on that server only; therefore, you won't even know when it rejoins (since there are no users on that server, or they have joined during the split - either way, [bind rejn] won't be triggered), unless you track LINKS periodically (on Undernet even that won't work)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Sep 24, 2005 3:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2005-09-24T02:31:14-04:00</updated>

		<published>2005-09-24T02:31:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56036#p56036</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56036#p56036"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56036#p56036"><![CDATA[
some servers on a netsplit loose the topic and some of the channel user keep asking where the topic is.<br>so i wanted to detect ppl rejoining from a netsplit then set the topic which should set the topic accross all the servers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Sat Sep 24, 2005 2:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-24T01:33:14-04:00</updated>

		<published>2005-09-24T01:33:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56033#p56033</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56033#p56033"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56033#p56033"><![CDATA[
what does "topic resync" mean to you exactly? you want the bot bouncing a topic set by server on rejoin? (bouncing = setting back old topic)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sat Sep 24, 2005 1:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2005-09-24T02:38:22-04:00</updated>

		<published>2005-09-24T00:58:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56032#p56032</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56032#p56032"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56032#p56032"><![CDATA[
i think this kind of switch could get me out of the script reseting the topic on every rejoin<br><div class="codebox"><p>Code: </p><pre><code>set allowrun 1bind time - * time:testerproc time:tester {m h d mo y} {global allowrunputhelp "PRIVMSG MoonUnit : $allowrun"if {$allowrun == 1} {puthelp "PRIVMSG MoonUnit : - message -"set allowrun 0timer 5 {set allowrun 1}}}</code></pre></div>test run:<br>(05:50:00) (moontesting) 1<br>(05:50:02) (moontesting) - message -<br>(05:51:00) (moontesting) 0<br>(05:52:00) (moontesting) 0<br>(05:53:00) (moontesting) 0<br>(05:54:00) (moontesting) 0<br>(05:55:00) (moontesting) 1<br>(05:55:02) (moontesting) - message -<br><br><br>EDIT. moved the timer other wise if would keep creating a new timer every minute.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Sat Sep 24, 2005 12:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deadite66]]></name></author>
		<updated>2005-09-23T23:36:48-04:00</updated>

		<published>2005-09-23T23:36:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56030#p56030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56030#p56030"/>
		<title type="html"><![CDATA[Netsplit - bind rejn]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56030#p56030"><![CDATA[
trying to write a topic resync script, as it's hard to test it unless a netsplit happens i'd like someones opinion.<br>would this work?<br><div class="codebox"><p>Code: </p><pre><code># check for netsplit rejoin then reset topic after 30 minutesbind rejn - * netsplit:topicpopproc netsplit:topicpop {nick host handle channel} {if { $channel == "#moonunittesting"} {puthelp "PRIVMSG MoonUnit : netsplit rejoin triggered" timer 30 { set TOTF "./TOTopicfile.txt" set TOfile [open $TOTF "r"] fconfigure $TOfile -encoding binary set oldtopic [read -nonewline $TOfile]if {[botisop #moonunittesting]} { putserv "TOPIC #moonunittesting :Resyncing topic.." putserv "TOPIC #moonunittesting :$oldtopic"   } close $TOfile}}}</code></pre></div>EDIT. hmm just had a thought that multiple rejoins would lilkely annoy the script, but appart from that bit would it work?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6296">deadite66</a> — Fri Sep 23, 2005 11:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
