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

	<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-01-21T16:54:40-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-01-21T16:54:40-04:00</updated>

		<published>2004-01-21T16:54:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32757#p32757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32757#p32757"/>
		<title type="html"><![CDATA[Re: Does this look correct?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32757#p32757"><![CDATA[
<blockquote class="uncited"><div>Does this look like it will work right?</div></blockquote>No. Learn Tcl, then come back and post your code with [<strong class="text-strong"></strong>code][/code] around it and some indentation to make it readable.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Jan 21, 2004 4:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[adam15906]]></name></author>
		<updated>2004-01-18T21:39:50-04:00</updated>

		<published>2004-01-18T21:39:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32647#p32647</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32647#p32647"/>
		<title type="html"><![CDATA[Does this look correct?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32647#p32647"><![CDATA[
Ok I need a bot that looks at XDCC's for the correct files.<br>The first time will look for one of the first files then the second timer will look for the second group.<br><br>set smallfilepack1 "LaLaLa"<br>set smallfilepack2 "LaLaLa"<br>set smallfilepack3 "LaLaLa"<br>set bigfilepack1 "LaLaLa"<br>set bigfilepack2 "LaLaLa"<br>set bigfilepack3 "LaLaLa"<br><br>set remscanhan "#adam"<br>set remscanmin 10<br>bind time - "* * * * *" time:scan<br>proc time:scan {min hour day month year} {<br>global remscanchan remscanmin<br>if {[expr [string trimleft $min "0"] % $remscanmin]} { return }<br>bind pub - "*" scan:1<br>proc scan:1 {nick uhost hand chan text} {<br>if [string match * $smallfilepack1 ] { break }<br>elseif [string match * $smallfilepack2 ] { break }<br>elseif [string match * $smallfilepack3 ] { break }<br>else { PRIVMSG $nick :This is a timed alert that goes off when it is detected that your are not serving the required packs. Please fix your XDCC if this is true or contact an OP/HOP if you feel this is a problem. }<br>return 0<br>}<br><br>set remscanhan2 "#adam"<br>set remscanmin2 10<br>bind time - "* * * * *" time:scan<br>proc time:scan2 {min hour day month year} {<br>global remscanchan2 remscanmin2<br>if {[expr [string trimleft $min "0"] % $remscanmin]} { return }<br>bind pub - "*" scan:1<br>proc scan:1 {nick uhost hand chan text} {<br>if [string match * $bigfilepack1 ] { break }<br>elseif [string match * $bigfilepack2 ] { break }<br>elseif [string match * $bigfilepack3 ] { break }<br>else { PRIVMSG $nick :This is a timed alert that goes off when it is detected that your are not serving the required packs. Please fix your XDCC if this is true or contact an OP/HOP if you feel this is a problem. }<br>return 0<br>}<br><br><br><br>Does this look like it will work right?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3872">adam15906</a> — Sun Jan 18, 2004 9:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
