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

	<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>2006-01-04T02:11:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2006-01-04T00:54:10-04:00</updated>

		<published>2006-01-04T00:54:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59018#p59018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59018#p59018"/>
		<title type="html"><![CDATA[Reading from files.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59018#p59018"><![CDATA[
thanks sir_Fz, its working only problem now he counts the number too much like this, <br><br>(05:47:13) (CSS) Nr Hostmark<br>(05:47:14) (CSS) #1 <a href="mailto:Dizzle@Dizzle.users.quakenet.org">Dizzle@Dizzle.users.quakenet.org</a><br>(05:47:15) (CSS) #2 <br><br>and there is only one hostmark in my database<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Wed Jan 04, 2006 12:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-01-04T02:11:25-04:00</updated>

		<published>2006-01-03T16:54:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58999#p58999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58999#p58999"/>
		<title type="html"><![CDATA[Reading from files.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58999#p58999"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc show_host {nick uhost hand chan} { global privchan file set number 0 set f [open $file] putserv "NOTICE $nick :Nr Hostmark" foreach host [split [read $f] \n] {  if {$host == ""} {break}  incr number  putserv "NOTICE $nick :#$number $host" } close $f}</code></pre></div>Edit: fixed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jan 03, 2006 4:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2006-01-03T12:59:46-04:00</updated>

		<published>2006-01-03T12:59:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58997#p58997</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58997#p58997"/>
		<title type="html"><![CDATA[Reading from files.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58997#p58997"><![CDATA[
this is one off my tries, i doesnt work, buut maybe it can be made better. <br><div class="codebox"><p>Code: </p><pre><code>proc show_host { nick uhost hand chan } {   global privchan file        set number 0       set f [open $file]        putserv "NOTICE $nick : Nr     Hostmark"       foreach host [string tolower [split [read $f] \n]] {       incr number +1       putserv "NOTICE $nick : #$number $host"       }    }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Tue Jan 03, 2006 12:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dizzle]]></name></author>
		<updated>2006-01-03T12:24:21-04:00</updated>

		<published>2006-01-03T12:24:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=58995#p58995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=58995#p58995"/>
		<title type="html"><![CDATA[Reading from files.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=58995#p58995"><![CDATA[
Im working on a private channel script where you can add a hostmark who may join a channel. Im using it for my private channel. <br><br>Well if finished the script adding and deleting ppl, and who dont have the right hostmark will be kickbanned. Butt the list is getting long. And i like too get the list in private notice when i msg the bot "privlist". <br><br>Well i tried a few things my self butt i doesnt seem too work atm. <br><div class="codebox"><p>Code: </p><pre><code>proc show_host { nick uhost hand chan } {   global privchan file        set f [open $file]        putserv "NOTICE $nick : Nr     Hostmark"       foreach host [???????] {       }    }}</code></pre></div>i know this is not right way, and i have read too a lot off scripts too see how they do it, butt no script i like mine. <br><br>What the idea is when i msg the bot i will get some thing like this. <br><br>&lt;Botnick&gt; : Nr      Hostmark<br>&lt;Botnick&gt; : #1      <a href="mailto:Bla@bla.com">Bla@bla.com</a> <br>&lt;Botnick&gt; : #2      <a href="mailto:Bla@blabla.com">Bla@blabla.com</a><br>&lt;Botnick&gt; : #2      <a href="mailto:Bla@blablabla.com">Bla@blablabla.com</a><br>etc. <br><br>Well would you guys give me some hints how its possible too display every hostmark saved in the file and add a number too it ? <br><br>You dont have too give me the hole script <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":-)" title="Smile"> butt some help will be apreciated. <br><br>Hope you can help me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6156">Dizzle</a> — Tue Jan 03, 2006 12:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
