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

	<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-06-17T13:46:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-06-17T13:46:36-04:00</updated>

		<published>2003-06-17T13:46:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22063#p22063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22063#p22063"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22063#p22063"><![CDATA[
ops sorry, didn't see the bind.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Tue Jun 17, 2003 1:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-06-17T12:51:54-04:00</updated>

		<published>2003-06-17T12:51:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22055#p22055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22055#p22055"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22055#p22055"><![CDATA[
yes, script is working fine, i was wondering if op doesn't use the bot at all and chnage the topic using mirc script or just /topic #NAME text<br><br>so then if bot can grab that topic and append the default text to it and reset it.<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Tue Jun 17, 2003 12:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-06-17T12:37:31-04:00</updated>

		<published>2003-06-17T12:37:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22053#p22053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22053#p22053"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22053#p22053"><![CDATA[
isnt that what the above script does ?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"> <br><br>if you want the static text appended instead of prefixed then just change the order in the puthelp.<br><br>$topic $static<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Tue Jun 17, 2003 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EEggy]]></name></author>
		<updated>2003-06-17T09:56:56-04:00</updated>

		<published>2003-06-17T09:56:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22039#p22039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22039#p22039"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22039#p22039"><![CDATA[
Hi, that works great, but just wondering if someone set the topic manually, instead of using the bot, then is there anyway when person will set the topic manually and bot will grab that topic and check the default text, if not then append the default text to it and set it.?<br><br>let say default text is welcome to $chan<br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1962">EEggy</a> — Tue Jun 17, 2003 9:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-05-26T12:23:50-04:00</updated>

		<published>2003-05-26T12:23:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20712#p20712</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20712#p20712"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20712#p20712"><![CDATA[
the questionmark --&gt; ?<br><br>.tcl ?<br>&lt;bot&gt; TCL error: invalid command name "?"<br><br>.tcl invalidcommand<br>&lt;bot&gt; TCL error: invalid command name "invalidcommand"<br><br><br>and there shouldnt be any questionmark in the script so you must've put it there.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Mon May 26, 2003 12:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-26T12:17:04-04:00</updated>

		<published>2003-05-26T12:17:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20709#p20709</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20709#p20709"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20709#p20709"><![CDATA[
<blockquote class="uncited"><div>"?" isnt used anywhere in the script as far as i can tell.<br><br>you must've injected it</div></blockquote><br> injected what?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Mon May 26, 2003 12:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-05-26T12:10:31-04:00</updated>

		<published>2003-05-26T12:10:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20708#p20708</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20708#p20708"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20708#p20708"><![CDATA[
"?" isnt used anywhere in the script as far as i can tell.<br><br>you must've injected it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Mon May 26, 2003 12:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-26T11:48:45-04:00</updated>

		<published>2003-05-26T11:48:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20706#p20706</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20706#p20706"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20706#p20706"><![CDATA[
my bot says to me &lt;Botman&gt; [18:46] Tcl error [topc:check]: invalid command name "? "<br>&lt;Botman&gt; [18:47] Tcl error [topc:check]: invalid command name "? "<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Mon May 26, 2003 11:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kaarel]]></name></author>
		<updated>2003-05-26T11:45:03-04:00</updated>

		<published>2003-05-26T11:45:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20704#p20704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20704#p20704"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20704#p20704"><![CDATA[
HMM it doesn`t work on my BOT, What I have done wrong<br><div class="codebox"><p>Code: </p><pre><code>bind topc -|- "#kaarel *" topc:check proc topc:check { nick userhost handle chan topic } {   set static "welcome to $chan ||"   if { ( $nick == $::botnick ) } {     return 0   }   if { [string match "$static *" $topic] } {     return 0   } puthelp "TOPIC $chan :$static $topic" } putlog "topic.tcl loaded" </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3078">Kaarel</a> — Mon May 26, 2003 11:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[yvovandoorn]]></name></author>
		<updated>2003-05-25T18:24:36-04:00</updated>

		<published>2003-05-25T18:24:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20650#p20650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20650#p20650"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20650#p20650"><![CDATA[
great, it works.<br><br>thanks for all the help spock &amp; realz.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3026">yvovandoorn</a> — Sun May 25, 2003 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-05-25T09:37:42-04:00</updated>

		<published>2003-05-25T09:37:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20625#p20625</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20625#p20625"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20625#p20625"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind topc -|- "#chan *" topc:checkproc topc:check { nick userhost handle chan topic } {  set static "welcome to $chan ||"  if { ( $nick == $::botnick ) } {    return 0  }  if { [string match "$static *" $topic] } {    return 0  }puthelp "TOPIC $chan :$static $topic"}putlog "topic.tcl loaded"</code></pre></div>realz just forgot a wildcard in the match pattern  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"> <br><blockquote class="uncited"><div>string match ?-nocase? pattern string<br>* Matches any sequence of characters in string, including a null string. </div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Sun May 25, 2003 9:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[yvovandoorn]]></name></author>
		<updated>2003-05-25T01:45:26-04:00</updated>

		<published>2003-05-25T01:45:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20615#p20615</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20615#p20615"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20615#p20615"><![CDATA[
Nope it doesn't work<br><br>but I really appreciate the help guys.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3026">yvovandoorn</a> — Sun May 25, 2003 1:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-25T01:11:17-04:00</updated>

		<published>2003-05-25T01:11:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20614#p20614</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20614#p20614"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20614#p20614"><![CDATA[
I'm not sure but try this:<br><div class="codebox"><p>Code: </p><pre><code>bind topc -|- "#chan *" topc:check proc topc:check { nick userhost handle chan topic } {set static "welcome to $chan || "  if { ( $nick == $::botnick ) } {     return 0   } if {[string match $static $topic]} {putlog "The new topic already contains the static part. I'll not change it."return 0}puthelp "TOPIC $chan :$static $topic" } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Sun May 25, 2003 1:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[yvovandoorn]]></name></author>
		<updated>2003-05-24T23:56:58-04:00</updated>

		<published>2003-05-24T23:56:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20613#p20613</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20613#p20613"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20613#p20613"><![CDATA[
One more question...<br><br>(I don't know anything of TCL heh)<br><br>Is it possible so if someone updates the topic and the static part is already in place is that it wont add it again.<br><br>For example...<br>Op A sets topic to I am a nerd<br>Bot changes topic to Welcome to #win98 || I am a nerd<br>Op B edits the topic by adding a ! to nerd<br>Bot changes topic to Welcome to #win98 || Welcome to #win98 || I am a nerd!<br><br>Is it possible that the script doesn't add it again?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3026">yvovandoorn</a> — Sat May 24, 2003 11:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-05-24T23:07:35-04:00</updated>

		<published>2003-05-24T23:07:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20610#p20610</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20610#p20610"/>
		<title type="html"><![CDATA[topic keep]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20610#p20610"><![CDATA[
yes, in the bind you specify what chan its triggered in<br><br>"#yourchannel *"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Sat May 24, 2003 11:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
