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

	<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-05-16T22:18:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-16T22:18:35-04:00</updated>

		<published>2004-05-16T22:18:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36389#p36389</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36389#p36389"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36389#p36389"><![CDATA[
nice idea knilch....guys could you please expand for me this tcl with the following features?<br><br>It would be better for my channel's needs to log users with specific usernames (starting with something constant ex. summerXXXXXX ) every 1 hour and at the same time to change the filename of txt after midnight according to the date of the above records.<br><br>I would appreciate if you could help me on the above changes whilst my knowledge in tcl is below zero <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by Guest — Sun May 16, 2004 10:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[knilch]]></name></author>
		<updated>2004-04-15T14:41:25-04:00</updated>

		<published>2004-04-15T14:41:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35578#p35578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35578#p35578"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35578#p35578"><![CDATA[
now its working. thanks for helping!!<br><br>there was a little mistake in the code which i added wrong <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=4585">knilch</a> — Thu Apr 15, 2004 2:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-15T12:47:21-04:00</updated>

		<published>2004-04-15T12:47:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35570#p35570</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35570#p35570"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35570#p35570"><![CDATA[
Have you changed from #channel to the actual name of your channel? I am talking about the set chan "#channel" line.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 15, 2004 12:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[knilch]]></name></author>
		<updated>2004-04-15T12:18:19-04:00</updated>

		<published>2004-04-15T12:18:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35565#p35565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35565#p35565"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35565#p35565"><![CDATA[
hmm i loaded the script but my result.txt is empty.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4585">knilch</a> — Thu Apr 15, 2004 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[knilch]]></name></author>
		<updated>2004-04-15T11:56:59-04:00</updated>

		<published>2004-04-15T11:56:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35561#p35561</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35561#p35561"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35561#p35561"><![CDATA[
thanks, i'll try it. very kind of you!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4585">knilch</a> — Thu Apr 15, 2004 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-15T11:54:19-04:00</updated>

		<published>2004-04-15T11:54:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35560#p35560</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35560#p35560"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35560#p35560"><![CDATA[
replace:<div class="codebox"><p>Code: </p><pre><code>puts $file [lindex $line 0]</code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>puts $file "([lindex $line 0])"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 15, 2004 11:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-04-15T11:53:32-04:00</updated>

		<published>2004-04-15T11:53:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35559#p35559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35559#p35559"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35559#p35559"><![CDATA[
<blockquote class="uncited"><div>but the nicknames should be written in  brackets like (nickname). is that possible, too?</div></blockquote>Brackets look like this: [], and yes, it's possible. Try to figure out where to put them yourself (clue: 'puts $file' is the part where content is written to the file)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu Apr 15, 2004 11:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[knilch]]></name></author>
		<updated>2004-04-15T11:47:38-04:00</updated>

		<published>2004-04-15T11:47:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35557#p35557</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35557#p35557"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35557#p35557"><![CDATA[
yea, that looks fine, thanks. but the nicknames should be written in  brackets like (nickname). is that possible, too?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4585">knilch</a> — Thu Apr 15, 2004 11:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-15T11:43:26-04:00</updated>

		<published>2004-04-15T11:43:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35556#p35556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35556#p35556"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35556#p35556"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind time - ?0* my:statusbind time - ?5* my:statusproc my:status {minute hour day month year} {  set chan "#channel"  set file [open "result.txt" w]   puts $file "Users in $chan channel:"   foreach line [chanlist $chan] {     puts $file [lindex $line 0]   }   close $file }</code></pre></div>This should do a status every 5 minutes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 15, 2004 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[knilch]]></name></author>
		<updated>2004-04-14T16:37:01-04:00</updated>

		<published>2004-04-14T16:37:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35529#p35529</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35529#p35529"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35529#p35529"><![CDATA[
but this version only works if i request it at the partyline, right?<br>i need this script updating himself<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4585">knilch</a> — Wed Apr 14, 2004 4:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-14T15:49:46-04:00</updated>

		<published>2004-04-14T15:49:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35524#p35524</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35524#p35524"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35524#p35524"><![CDATA[
Oups! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> It should be chanlist not channel. I was thinking at the dcc .channel command and in TCL is chanlist and kinda mixed them a bit <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Here is an basic "export" thing:<div class="codebox"><p>Code: </p><pre><code>bind dcc o export my:exportproc my:export {hand idx text} {  set chan [lindex $text 0]  if {![string match "#*" $chan] || $text == ""} {    putdcc $idx "Usage: .export #channel"    return  }  set file [open "result.txt" w]  puts $file "Users in $chan channel:"  foreach line [chanlist $chan] {    puts $file [lindex $line 0]  }  close $file  putdcc $idx "Export completed."}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Apr 14, 2004 3:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dollar]]></name></author>
		<updated>2004-04-14T15:01:52-04:00</updated>

		<published>2004-04-14T15:01:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35522#p35522</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35522#p35522"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35522#p35522"><![CDATA[
<blockquote class="uncited"><div>use something like:<div class="codebox"><p>Code: </p><pre><code>foreach line [channel #channel] {set user [lindex $line 0]# add $user one by one in your page or whatever}</code></pre></div>nickname, handle, join, idle and uhost is the content of the entire line.</div></blockquote>What about [chanlist #channel]?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4046">dollar</a> — Wed Apr 14, 2004 3:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[knilch]]></name></author>
		<updated>2004-04-14T14:59:03-04:00</updated>

		<published>2004-04-14T14:59:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35521#p35521</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35521#p35521"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35521#p35521"><![CDATA[
hum,  i don't understand this.<br>sorry, i not fit in tcl<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4585">knilch</a> — Wed Apr 14, 2004 2:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-14T14:55:23-04:00</updated>

		<published>2004-04-14T14:55:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35520#p35520</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35520#p35520"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35520#p35520"><![CDATA[
use something like:<div class="codebox"><p>Code: </p><pre><code>foreach line [channel #channel] {set user [lindex $line 0]# add $user one by one in your page or whatever}</code></pre></div>nickname, handle, join, idle and uhost is the content of the entire line.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Apr 14, 2004 2:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[knilch]]></name></author>
		<updated>2004-04-14T14:25:47-04:00</updated>

		<published>2004-04-14T14:25:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35519#p35519</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35519#p35519"/>
		<title type="html"><![CDATA[User in Channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35519#p35519"><![CDATA[
no - ALL user should be displayed - all people who are on the channel<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4585">knilch</a> — Wed Apr 14, 2004 2:25 pm</p><hr />
]]></content>
	</entry>
	</feed>
