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

	<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-02-22T15:14:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-22T15:14:23-04:00</updated>

		<published>2003-02-22T15:14:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16940#p16940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16940#p16940"/>
		<title type="html"><![CDATA[How to do multiple channel support.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16940#p16940"><![CDATA[
<blockquote class="uncited"><div>However, at the same time, the original post was correct. "5 * *", Note the lack of wildcard before the 5, meaning this must be at the start.</div></blockquote>yes, its at the front, and this means its never true, because <blockquote class="uncited"><div>minute, hour, day, month have a zero padding so they are exactly two characters long</div></blockquote>means, there will never be a 5 followed by an space at the begining because it will be 05 not 5 <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=2382">De Kus</a> — Sat Feb 22, 2003 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-02-22T14:45:56-04:00</updated>

		<published>2003-02-22T14:45:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16929#p16929</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16929#p16929"/>
		<title type="html"><![CDATA[How to do multiple channel support.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16929#p16929"><![CDATA[
Da Kus is correct in what he is saying.<br><br>However, at the same time, the original post was correct. "5 * *", Note the lack of wildcard before the 5, meaning this must be at the start.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sat Feb 22, 2003 2:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-21T15:48:09-04:00</updated>

		<published>2003-02-21T15:48:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16890#p16890</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16890#p16890"/>
		<title type="html"><![CDATA[ok, ok]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16890#p16890"><![CDATA[
seems you need an example:<br>like of the disciption from the doc file 2003-2-21 20:44 will be masked as ["44 20 21 02 2003". 44 is not dividable by 5, bot it still matchs "*0 * *" !!! first * is "44 2" then comes 0, then space, then "21 02", one more space, then 2003. it matchs and is true, and it will trigger EVERY minute in hours or months containg 0 or 5. * = can be ANY number of charachters, even zero. correct would be "?0*" or "*0 * * * *".<br><br>hope this helps you to understand the logic of a stupid computer <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=2382">De Kus</a> — Fri Feb 21, 2003 3:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-21T11:19:54-04:00</updated>

		<published>2003-02-21T11:19:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16880#p16880</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16880#p16880"/>
		<title type="html"><![CDATA[How to do multiple channel support.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16880#p16880"><![CDATA[
As you probably can see (or atleast you should..) Gothic-Angel is tryng to do a *call* for its proc from 5 in 5 minutes, so Papillon's tip is correct. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Feb 21, 2003 11:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-21T09:01:15-04:00</updated>

		<published>2003-02-21T09:01:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16875#p16875</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16875#p16875"/>
		<title type="html"><![CDATA[How to do multiple channel support.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16875#p16875"><![CDATA[
*grml*<br>PS: you can delete this double post...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Feb 21, 2003 9:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2003-02-21T08:54:34-04:00</updated>

		<published>2003-02-21T08:54:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16874#p16874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16874#p16874"/>
		<title type="html"><![CDATA[How to do multiple channel support.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16874#p16874"><![CDATA[
<blockquote class="uncited"><div>just a little tip <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>this can be done by using just two lines:<div class="codebox"><p>Code: </p><pre><code>bind time - "*0 * *" services_check bind time - "*5 * *" services_check</code></pre></div></div></blockquote>i am unsure, wouldn't this trigger each minute when hour or day contains 0 or 5? you probably mean <em class="text-italics">bind time - "*5 * * * *" services_check</em> and <em class="text-italics">bind time - "*0 * * * *" services_check</em><blockquote class="uncited"><div>mask matches 5 space separated integers of the form:<br>           "minute hour day month year". minute, hour, day, month have a<br>           zero padding so they are exactly two characters long; year is<br>           extended to four characters in the same way.</div></blockquote>means the old bind <em class="text-italics">bind time - "5 * *" services_check</em> is wrong, too.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Feb 21, 2003 8:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-02-21T06:44:05-04:00</updated>

		<published>2003-02-21T06:44:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16872#p16872</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16872#p16872"/>
		<title type="html"><![CDATA[How to do multiple channel support.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16872#p16872"><![CDATA[
just a little tip <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><div class="codebox"><p>Code: </p><pre><code>bind time - "0 * *" services_check bind time - "5 * *" services_check bind time - "10 * *" services_check bind time - "15 * *" services_check bind time - "20 * *" services_check bind time - "25 * *" services_check bind time - "30 * *" services_check bind time - "35 * *" services_check bind time - "40 * *" services_check bind time - "45 * *" services_check bind time - "50 * *" services_check bind time - "55 * *" services_check bind time - "00 * *" services_check</code></pre></div>this can be done by using just two lines:<div class="codebox"><p>Code: </p><pre><code>bind time - "*0 * *" services_check bind time - "*5 * *" services_check</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Feb 21, 2003 6:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-02-21T01:50:28-04:00</updated>

		<published>2003-02-21T01:50:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16858#p16858</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16858#p16858"/>
		<title type="html"><![CDATA[How to do multiple channel support.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16858#p16858"><![CDATA[
Use a 'foreach'. Eg.<div class="codebox"><p>Code: </p><pre><code>foreach ch $chans {bla bla bla}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Feb 21, 2003 1:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gothic-Angel]]></name></author>
		<updated>2003-02-20T22:19:52-04:00</updated>

		<published>2003-02-20T22:19:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=16851#p16851</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=16851#p16851"/>
		<title type="html"><![CDATA[How to do multiple channel support.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=16851#p16851"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set nickpass "pass"set channame "chan"set nickserv "nickserv@services.dal.net"set chanserv "chanserv@services.dal.net"set blah "."bind notc - "*This nick is owned by someone else*" services_identbind notc - "*Password accepted*" services_checkbind notc - "*You do not have access to op people*" services_identbind time - "0 * *" services_checkbind time - "5 * *" services_checkbind time - "10 * *" services_checkbind time - "15 * *" services_checkbind time - "20 * *" services_checkbind time - "25 * *" services_checkbind time - "30 * *" services_checkbind time - "35 * *" services_checkbind time - "40 * *" services_checkbind time - "45 * *" services_checkbind time - "50 * *" services_checkbind time - "55 * *" services_checkbind time - "00 * *" services_checkbind pub n|n ${blah}identify pub:identbind pub n|n ${blah}op pub:opbind pub n|n ${blah}test services_checkbind ctcr - PING services_opbind mode - "* -o" services_autoreopbind need - "* unban" services_autounbanproc services_ident { nick uhost hand args } {global botnick nickpass nickservputlog "Services: Trying to identify with nickserv"putserv "PRIVMSG $nickserv :identify $nickpass"}proc services_ping {nick uhost hand args} {putlog "PING: Trying to ping chanserv"putserv "PRIVMSG $chanserv :\001PING"}proc services_op {nick uhost hand args} {global botnick chanserv channameputserv "PRIVMSG $chanserv :OP $channame $botnick"}proc services_check {nick uhost hand chan arg} {global botnick channame chanservif {![botisop $channame] &amp;&amp; [botonchan $channame] } {putserv "PRIVMSG $chanserv :\001PING $chanserv" }}proc pub:ident {nick host hand chan text} {global botnick nickpass nickservputserv "PRIVMSG $nickserv :identify $nickpass"}proc pub:op {nick host hand chan text} {global botnick chanserv channameputserv "PRIVMSG $chanserv :OP $channame $botnick"}proc services_autoreop {nick uhost hand chan deop deopd} {global botnick channameif {[matchattr $hand n]} { return }if {([string match -nocase $deopd $botnick]) } {putserv "ChanServ op $channame $botnick" }}proc services_autounban {chan unban} {global channame botnickputserv "ChanServ unban $chan"}</code></pre></div>I want to make it support more than one channel but not all, so could I set a variable like.<br><div class="codebox"><p>Code: </p><pre><code> set chans "#chan #chan1 #chan2" </code></pre></div>[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1949">Gothic-Angel</a> — Thu Feb 20, 2003 10:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
