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

	<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>2003-06-16T19:19:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-06-16T19:19:59-04:00</updated>

		<published>2003-06-16T19:19:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21990#p21990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21990#p21990"/>
		<title type="html"><![CDATA[help with onjoin/managing files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21990#p21990"><![CDATA[
user, your help on this thread is very appreciated by me.<br><br>thank you very much man!!!!!<p>Statistics: Posted by Guest — Mon Jun 16, 2003 7:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-06-15T17:46:44-04:00</updated>

		<published>2003-06-15T17:46:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21886#p21886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21886#p21886"/>
		<title type="html"><![CDATA[help with onjoin/managing files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21886#p21886"><![CDATA[
Reading and parsing files each time a user joins a channel sounds like a bad idea to me.<br><br>How about making a user record for the masks that are not allowed?<br>It would sure save you some work.<br><br>just add a user, .chattr it -any default flags+some custom flag<br>and include that flag in your join bind.<br><br>For the allowed nicks I suggest using the user@host instead, as nicks change more often. make the "nicks.txt" contain a tcl array or list and just 'source' that file, then check against the array/list inside the proc before displaying the message.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sun Jun 15, 2003 5:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-06-15T16:56:39-04:00</updated>

		<published>2003-06-15T16:56:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21885#p21885</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21885#p21885"/>
		<title type="html"><![CDATA[help with onjoin/managing files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21885#p21885"><![CDATA[
please please please help me!<p>Statistics: Posted by Guest — Sun Jun 15, 2003 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-06-12T08:51:06-04:00</updated>

		<published>2003-06-12T08:51:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21723#p21723</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21723#p21723"/>
		<title type="html"><![CDATA[help with onjoin/managing files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21723#p21723"><![CDATA[
guys, i really need help. can someone help me?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by Guest — Thu Jun 12, 2003 8:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-06-10T10:38:58-04:00</updated>

		<published>2003-06-10T10:38:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21592#p21592</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21592#p21592"/>
		<title type="html"><![CDATA[help with onjoin/managing files]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21592#p21592"><![CDATA[
Hi, i need some help with this onjoin tcl. I want to have two files, one with HOSTMASKS of the ppl that will be msged like this:<br><div class="codebox"><p>Code: </p><pre><code>---hosts.txt---*@*.anything.br*@*.something.tw*ident@229.9.89.*clone*!*@*etc.------ . ------</code></pre></div>and one with list of NICKS that WONT be msged like this:<br><div class="codebox"><p>Code: </p><pre><code>---nicks.txt---Nick1Nick2Nick3etc.------ . ------</code></pre></div>Here is the code of the tcl i wanna update:<br><div class="codebox"><p>Code: </p><pre><code>set chnnl "#chan" set ntwrk "NetworkNet"set passwd "s0me_pass"bind join - "$chnnl *" msg:joinproc msg:join {nick uhost handle channel msg} {   if {[strlwr $nick] != [strlwr $::botnick] } {    puthelp "PRIVMSG $nick :Hey $nick, you have unallowed ip, unwelcomed on $ntwrk, please part $chnnl or type '/msg $::botnick ALLOWED &lt;password&gt;' to stop being msged"   } }</code></pre></div>So, this tcl should check the hosts.txt file and if in finds the hostmask, it should pm user with the text from the code. If they type 'ALLOWED s0me_pass" the bot should add their nick to te nicks.txt file and wont msg them anymore. Im a tcl n00b, especialy in managing files and help would be very appreciated. If its not too much from me to aks, a system that will check if the nick who joined gets @ by chanserv on $chnnl and automaticly add that nick to nicks.txt would be great, cause operators should be allowed to stay on $chnnl without any pm to leave.<br><br><br>tnx in advance,<br>all the best,<br>Mike<p>Statistics: Posted by Guest — Tue Jun 10, 2003 10:38 am</p><hr />
]]></content>
	</entry>
	</feed>
