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

	<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-12T21:27:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-12T21:27:51-04:00</updated>

		<published>2004-07-12T21:27:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38512#p38512</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38512#p38512"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38512#p38512"><![CDATA[
Or, more likely, if he's been trying to get his old code to work, he has 2 binds calling the same proc. <br><br>Restart the bot and it should work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 12, 2004 9:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-12T21:25:13-04:00</updated>

		<published>2004-07-12T21:25:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38511#p38511</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38511#p38511"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38511#p38511"><![CDATA[
It's because the nick must have gotted opped twice (two times).<br>The script will trigger on any +o mode.<br><br>So if a user tries to get op, 2 times repeatedly with ChanServ or 10 times in a very quick sucession (and in between that time no one else has gotten opped or the target +o is same again as before), all those lines will be written in the txt file, regardless of whatever the nick is.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Jul 12, 2004 9:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AbuAli]]></name></author>
		<updated>2004-07-12T18:48:37-04:00</updated>

		<published>2004-07-12T18:48:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38499#p38499</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38499#p38499"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38499#p38499"><![CDATA[
yeah its working, but i have a small problem.. <br>the bot is writin the same line.. 2 times.. <br><blockquote class="uncited"><div>[04-07-12 19:46] ChanServ set +o nick1<br>[04-07-12 19:46] ChanServ set +o nick1</div></blockquote>so whats the problem...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5052">AbuAli</a> — Mon Jul 12, 2004 6:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-12T14:46:05-04:00</updated>

		<published>2004-07-12T14:46:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38491#p38491</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38491#p38491"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38491#p38491"><![CDATA[
Try this<div class="codebox"><p>Code: </p><pre><code>set olist "oplist.txt"bind mode - "#channel *+o*" olist:addproc olist:add {nick host hand chan mode text} {  set f [open $::olist a]  puts $f "[strftime "\[%y-%m-%d %H:%M\]"] $nick set $mode $text"  close $f}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 12, 2004 2:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[AbuAli]]></name></author>
		<updated>2004-07-12T13:46:53-04:00</updated>

		<published>2004-07-12T13:46:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38490#p38490</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38490#p38490"/>
		<title type="html"><![CDATA[Tcl error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38490#p38490"><![CDATA[
Hello, <br>i need to write on a txt .. all the nicks who get oped on my channel. <br>so i load this script. what the problem ? plz help me..<br><div class="codebox"><p>Code: </p><pre><code>set olist "oplist.txt" bind mode - "#Channel +o" olist:add proc olist:add {nick host hand chan mc vc} {   set f [open $::olist a]   set i 0   while {[gets $f n]&gt;-1} {     if {[string match -nocase $vc $n]} {       incr i     }   }   if {$i} {     puts $f $vc   }   close $f }</code></pre></div><blockquote class="uncited"><div><strong class="text-strong"> Tcl error [olist:add]: channel "file9" wasn't opened for reading</strong></div></blockquote><br><br>and i need to write with the Time/Date when oped .. can ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5052">AbuAli</a> — Mon Jul 12, 2004 1:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
