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

	<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>2002-10-31T19:56:04-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simonbell]]></name></author>
		<updated>2002-10-31T19:56:04-04:00</updated>

		<published>2002-10-31T19:56:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12652#p12652</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12652#p12652"/>
		<title type="html"><![CDATA[small problem when bot sets topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12652#p12652"><![CDATA[
It *appears* that this is actually due to the ircd running and not the eggdrop. I have a network running as a standard bot on an ircu network and it doesnt add its nick afterwards, however the bot in question is running on a ulined server running unrealircd and it seems even when i just type .topic blah in the partyline the nick is added afterwards.<br><br>Simon<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1696">simonbell</a> — Thu Oct 31, 2002 7:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simonbell]]></name></author>
		<updated>2002-10-28T15:18:47-04:00</updated>

		<published>2002-10-28T15:18:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12543#p12543</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12543#p12543"/>
		<title type="html"><![CDATA[small problem when bot sets topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12543#p12543"><![CDATA[
bind pub -|Col .topic pub_topic<br><br>proc pub_topic {nick uhost hand chan text} {<br> set topic [lrange $text 0 end]<br> set tpchan [open chantopics.db r]<br> set all [read $tpchan]<br> close $tpchan<br> foreach line [split $all \n] {<br>  set readchan [lindex $line 0]<br>  set readtopic [lrange $line 1 end]<br>  if { $readchan == $chan } {<br>   if { $topic == "" } {<br>    putserv "TOPIC $chan :$readtopic"<br>    return 0<br>    }<br>   if { $readtopic == $topic } {<br>    putnotc $nick "Default topic in $chan changed to: $topic"<br>    putserv "TOPIC $chan :$topic"<br>    return 0<br>    }<br>   set readfile [open chantopics.db r]<br>   set writefile [open chantopics.db.tmp w]<br>   while (1) {<br>    set checker [gets $readfile]<br>    if {[eof $readfile]} { break }<br>    if { [lindex $checker 0] != $chan } {<br>     puts $writefile $checker<br>     }<br>   }<br>   close $readfile<br>   close $writefile<br>   file rename -force chantopics.db.tmp chantopics.db<br>  }<br> }<br> set addtopic [open chantopics.db a]<br> puts $addtopic "$chan $topic"<br> close $addtopic<br> putnotc $nick "Default topic in $chan changed to: $topic"<br> putserv "TOPIC $chan :$topic"<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1696">simonbell</a> — Mon Oct 28, 2002 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tainted]]></name></author>
		<updated>2002-10-28T05:59:27-04:00</updated>

		<published>2002-10-28T05:59:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12500#p12500</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12500#p12500"/>
		<title type="html"><![CDATA[small problem when bot sets topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12500#p12500"><![CDATA[
Paste the exact code of the whole tcl please, it seems like you have something screwy going on where you set the var.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1256">tainted</a> — Mon Oct 28, 2002 5:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simonbell]]></name></author>
		<updated>2002-10-27T18:10:45-04:00</updated>

		<published>2002-10-27T18:10:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=12486#p12486</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=12486#p12486"/>
		<title type="html"><![CDATA[small problem when bot sets topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=12486#p12486"><![CDATA[
Ive made a script to store a default topic for the chan in a file, and well this works, but when the bot sets the topic using<br><blockquote class="uncited"><div> putserv "TOPIC $chan :$topic"</div></blockquote>the topic is set as:<br><blockquote class="uncited"><div>* E changes topic to 'Welcome to #BeforeNET (E)'</div></blockquote>When a 'user' set the topic there nick is not put in brackets at the end of the topic. Is this a standard eggdrop feature or can it be removed somehow?<br><br>thanks<br>Simon<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1696">simonbell</a> — Sun Oct 27, 2002 6:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
