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

	<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>2024-05-06T07:44:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Carlin0]]></name></author>
		<updated>2024-05-06T07:44:27-04:00</updated>

		<published>2024-05-06T07:44:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112779#p112779</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112779#p112779"/>
		<title type="html"><![CDATA[Re: bad nick txt file ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112779#p112779"><![CDATA[
With a little imagination you don't even need a script to keep the bad nicknames at bay:<br><br>* You create a user in the bot<br>* Give user the +k flag<br>* Add as many nicknames as you want<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12778">Carlin0</a> — Mon May 06, 2024 7:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2024-05-06T07:05:12-04:00</updated>

		<published>2024-05-06T07:05:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112778#p112778</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112778#p112778"/>
		<title type="html"><![CDATA[Re: bad nick txt file ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112778#p112778"><![CDATA[
<blockquote class="uncited"><div>Ive always wondered if there is a proper way read from a large text file each time a nick joins on a busy  channel or in the case of checking badwords each time some one types in a busy channel from <br>A file with like 1000 or 2000 or more lines.</div></blockquote>I think that the AllProtection script does both of these things.    I don't recall ever examining it closely to see exactly how it does it, though.      (   It is a huge and complicated script.  )<br><br>But perhaps if you have time, you might like to get a copy of it, and try to see how it does it.   <br><br>As for,  " ... if there is a proper way ..."     -    I surely don't profess to know the "proper" way.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">     If/when I am trying to script something,  I just keep at it until I get it working.   My way.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">     <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Seriously though:  That link posted above, to the FAQ section of this forum, to that post that shows code for how to read a text file - is SO very handy.   I hope that post lives forever.   Whenever I need to do that, I just visit that post.  Saves me the time of digging in my own scripts, looking for where I have used it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon May 06, 2024 7:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2024-05-06T03:25:07-04:00</updated>

		<published>2024-05-06T03:25:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112777#p112777</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112777#p112777"/>
		<title type="html"><![CDATA[Re: bad nick txt file ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112777#p112777"><![CDATA[
Ive always wondered if there is a proper way read from a large text file each time a nick joins on a busy  channel or in the case of checking badwords each time some one types in a busy channel from <br>A file with like 1000 or 2000 or more lines.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Mon May 06, 2024 3:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2024-05-05T20:31:03-04:00</updated>

		<published>2024-05-05T20:31:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112776#p112776</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112776#p112776"/>
		<title type="html"><![CDATA[Re: bad nick txt file ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112776#p112776"><![CDATA[
I'm not sure of exactly everything that you are looking for, and what you want the final product to do for you.<br><br>However, if you are trying to write your own tcl script to read from a text file, then this:<br><div class="codebox"><p>Code: </p><pre><code>   https://forum.eggheads.org/viewtopic.php?t=6885   </code></pre></div>is VERY helpful.   I've used the various info found there many times.<br><br>With the ideas there, you could easily write a tcl script to read all the lines from a text file into a variable.  <br>I assume that you'd have one nick per line.<br>Once you have them in a variable as a list, then you can use other tcl commands to search and/or manipulate them as you please.   Again... I don't know exactly what you are trying to do.<br><br>I hope this helps.<br><br>Good luck with your project.       <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=10420">willyw</a> — Sun May 05, 2024 8:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pektek]]></name></author>
		<updated>2024-05-05T17:30:22-04:00</updated>

		<published>2024-05-05T17:30:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112774#p112774</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112774#p112774"/>
		<title type="html"><![CDATA[Re: bad nick txt file ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112774#p112774"><![CDATA[
I couldn't find what I was looking for<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13010">pektek</a> — Sun May 05, 2024 5:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Carlin0]]></name></author>
		<updated>2024-05-05T14:34:16-04:00</updated>

		<published>2024-05-05T14:34:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112772#p112772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112772#p112772"/>
		<title type="html"><![CDATA[Re: bad nick txt file ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112772#p112772"><![CDATA[
If you search in tclarchive.org there are several scripts for this<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12778">Carlin0</a> — Sun May 05, 2024 2:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pektek]]></name></author>
		<updated>2024-05-05T13:07:02-04:00</updated>

		<published>2024-05-05T13:07:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=112771#p112771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=112771#p112771"/>
		<title type="html"><![CDATA[bad nick txt file ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=112771#p112771"><![CDATA[
eggdrop reading txt file with bad nicknames ?<br><br>Is this possible ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13010">pektek</a> — Sun May 05, 2024 1:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
