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

	<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>2004-07-15T01:08:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CoolCold]]></name></author>
		<updated>2004-07-15T01:08:40-04:00</updated>

		<published>2004-07-15T01:08:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38644#p38644</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38644#p38644"/>
		<title type="html"><![CDATA[appending topics]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38644#p38644"><![CDATA[
try to use topiclock,i've made some changes to it <br><a href="http://web.coolcold.org/scripts/topiclock2.05.tcl" class="postlink">http://web.coolcold.org/scripts/topiclock2.05.tcl</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2774">CoolCold</a> — Thu Jul 15, 2004 1:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-04-13T20:24:47-04:00</updated>

		<published>2004-04-13T20:24:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35503#p35503</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35503#p35503"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35503#p35503"><![CDATA[
Use "string length" to determine the length of a string...<br><br>Also, on a side note, you should contact the author of chanstats.tcl to let them know that there is a bug with their script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Apr 13, 2004 8:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bruhv]]></name></author>
		<updated>2004-04-13T17:24:58-04:00</updated>

		<published>2004-04-13T17:24:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35501#p35501</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35501#p35501"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35501#p35501"><![CDATA[
fixed <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>thanks again<br><br>now... i can see a point where i will want the bot to either:<br> 1. remove the oldest part of the topic when the new append makes the total new topic more than 250 characters (sounds horribly complicated to me)<br><br>or<br><br>2. warn the user that it will make the topic too long, and then state how many characters there are remaining (out of maximum 250) if they want to append to the topic and not replace it completely<br><br>any pointers on #2?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4804">bruhv</a> — Tue Apr 13, 2004 5:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bruhv]]></name></author>
		<updated>2004-04-13T16:53:07-04:00</updated>

		<published>2004-04-13T16:53:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35500#p35500</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35500#p35500"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35500#p35500"><![CDATA[
ah... chanstats.tcl has a 'proc topic' line<br><br>changed it but haven't quite fixed it because my stats page no longer shows the topic. but i'm getting there, heh<br><br><br>thanks Xpert for the script that (should of) works perfectly, just changed +n flag to +o <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>thanks strikelight for spotting the cause of my problem :]<br><br>now, back to fixing the stats script  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4804">bruhv</a> — Tue Apr 13, 2004 4:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-04-13T15:31:21-04:00</updated>

		<published>2004-04-13T15:31:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35499#p35499</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35499#p35499"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35499#p35499"><![CDATA[
I would gather that you (or a script you are using) have a procedure called 'topic' which overrides the eggdrop 'topic' tcl command..<br><br>  Change that procedure's name (or get rid of the script that provides it), and remember to use '.restart' after you have fixed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Apr 13, 2004 3:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bruhv]]></name></author>
		<updated>2004-04-13T14:19:18-04:00</updated>

		<published>2004-04-13T14:19:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35497#p35497</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35497#p35497"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35497#p35497"><![CDATA[
right. messed about a bit but still too much a n00b :/<br><br>what i have so far...<div class="codebox"><p>Code: </p><pre><code>bind pub o "!settopic" pub:topicbind pub o "!appendtopic" pub:appendproc pub:topic {nick host hand chan args} {  putserv "topic $chan :$args"}proc pub:append {nick host hand chan args} { set old [topic $chan]  putserv "topic $chan :$old - $args"}putlog "* topicappend.tcl loaded."</code></pre></div>i'm trying (failing miserably) to set '$old' as the old topic<br>i get the same error: wrong # args: should be "topic channel what"<br><br>if i change $old to just old it kinda works...<br><br>[19:08:15] &lt;@bruhv&gt; !settopic test1<br>[19:08:15] * orac changes topic to 'test1'<br>[19:08:16] &lt;@bruhv&gt; !appendtopic test2<br>[19:08:17] * orac changes topic to ' topic - test2'<br><br>lol<br>i'm getting close, but i'm sure you lot can put me right <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=4804">bruhv</a> — Tue Apr 13, 2004 2:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bruhv]]></name></author>
		<updated>2004-04-13T14:26:12-04:00</updated>

		<published>2004-04-13T13:28:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35496#p35496</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35496#p35496"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35496#p35496"><![CDATA[
yep, like the zombie.tcl, appends to the end of whatever you set as topic.<br>i think what i need is a proc to find out the current topic(no idea how, loads to learn still ;]) setting it as, for example, 'old_topic', then i think i can append the new topic to the end of 'old_topic' variable?<br><br>thought it might be quite a simple task lol<br><br><br><br><br>/edit<br>now i can see the console the output i get when i !appendtopic goes:<br><br>&lt;orac&gt; [18:23] Tcl error [pub:append]: wrong # args: should be "topic channel what"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4804">bruhv</a> — Tue Apr 13, 2004 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-04-13T12:23:06-04:00</updated>

		<published>2004-04-13T12:23:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35494#p35494</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35494#p35494"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35494#p35494"><![CDATA[
<strong class="text-strong">Append - v.</strong> To add to the end (of something)<br><br><a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-topicby.htm" class="postlink">TopicBy.tcl</a><br><br>Description: When someone changes the topic, adds their nick to the end. Also has a public command for finding out who set the topic.<br><br>Maybe?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Tue Apr 13, 2004 12:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bruhv]]></name></author>
		<updated>2004-04-13T07:58:21-04:00</updated>

		<published>2004-04-13T07:58:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35487#p35487</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35487#p35487"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35487#p35487"><![CDATA[
yes i'm aware of the massive amount of topic scripts, yes i have tried most of them, none seem to append  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4804">bruhv</a> — Tue Apr 13, 2004 7:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2004-04-13T06:59:24-04:00</updated>

		<published>2004-04-13T06:59:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35486#p35486</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35486#p35486"/>
		<title type="html"><![CDATA[Re: need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35486#p35486"><![CDATA[
<blockquote class="uncited"><div>can't find anything with search, and googled for hours with no success...</div></blockquote>Haven't you looked in the TCL Archives?  I just looked, and there are 29 different topic related scripts on this site alone...none of those will work?<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Tue Apr 13, 2004 6:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bruhv]]></name></author>
		<updated>2004-04-13T05:39:52-04:00</updated>

		<published>2004-04-13T05:39:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35481#p35481</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35481#p35481"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35481#p35481"><![CDATA[
... sets but doesn't append, can't see if i get errors in dcc chat because i can't dcc to the bot from work, will look at home later<br><br>thanks tho  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4804">bruhv</a> — Tue Apr 13, 2004 5:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Xpert]]></name></author>
		<updated>2004-04-13T03:38:03-04:00</updated>

		<published>2004-04-13T03:38:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35478#p35478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35478#p35478"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35478#p35478"><![CDATA[
Try this:<div class="codebox"><p>Code: </p><pre><code>bind pub n "!settopic" pub:topicbind pub n "!appendtopic" pub:appendproc pub:topic {nick host hand chan args} {  putserv "topic $chan :$args"}proc pub:append {nick host hand chan args} {  putserv "topic $chan :[topic $chan], $args"}</code></pre></div><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4667">Xpert</a> — Tue Apr 13, 2004 3:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bruhv]]></name></author>
		<updated>2004-04-12T13:46:07-04:00</updated>

		<published>2004-04-12T13:46:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35465#p35465</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35465#p35465"/>
		<title type="html"><![CDATA[need topic append script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35465#p35465"><![CDATA[
can't find anything with search, and googled for hours with no success...<br><br>i need a script that:<br> !settopic &lt;sometext&gt; obviously, sets a new topic 'sometext'<br> !appendtopic &lt;somemoretext&gt; reads and then appends to the current topic<br><br>any scripting wizards fancy writing it for me?<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4804">bruhv</a> — Mon Apr 12, 2004 1:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
