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

	<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-04-27T16:21:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-04-27T16:21:20-04:00</updated>

		<published>2005-04-27T16:21:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48629#p48629</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48629#p48629"/>
		<title type="html"><![CDATA[Changed part of the topic from another channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48629#p48629"><![CDATA[
<a href="http://www.tcl.tk/man/tcl8.4/TclCmd/regsub.htm" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/regsub.htm</a><br>this it command that can change substrings. usage is like:<div class="codebox"><p>Code: </p><pre><code>regsub {(Status: \003).{6,9}\003} $topic "15,1down\003" newtopic</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Apr 27, 2005 4:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2005-04-27T15:08:29-04:00</updated>

		<published>2005-04-27T15:08:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48625#p48625</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48625#p48625"/>
		<title type="html"><![CDATA[Changed part of the topic from another channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48625#p48625"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind topic - "*" check:topicproc check:topic {nick uhost hand chan text} { if {[string equal -nocase "#chan1" $chan] &amp;&amp; [botisop #chan2] &amp;&amp; [string match -nocase "*DOWN!*" $text]} {  putserv "TOPIC #chan2 &lt;your_topic_here&gt;"  }}</code></pre></div>Replace #chan1 with the channel where you want the topic to be detected (DOWN!)<br>Replace #chan2 with the channel where the topic will be changed (OFFLINE)<br>Replace &lt;your_topic_here&gt; with the new topic you want to set on #chan2<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Wed Apr 27, 2005 3:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[d4rk]]></name></author>
		<updated>2005-04-27T08:11:30-04:00</updated>

		<published>2005-04-27T08:11:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48620#p48620</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48620#p48620"/>
		<title type="html"><![CDATA[Changed part of the topic from another channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48620#p48620"><![CDATA[
Hello, I'm new here.<br><br>I would ask you, if there's a script that makes the bot change only one part of the topic depending on that part of the topic in another channel?<br>I mean, there's a game server channel. The server is often down, and then it's stated on the channel as "DOWN!". I'm looking for a script for a bot that would be on that channel and every time topic would change to "DOWN!" it would change the topic on my channel to "OFFLINE". Of course its only the part of the topic. The "OFFLINE" word isn't the whole topic set on the channel.<br><br>I hope you have understood me.<br><br>P.S.: Sorry for my bad English.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6148">d4rk</a> — Wed Apr 27, 2005 8:11 am</p><hr />
]]></content>
	</entry>
	</feed>
