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

	<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-11-12T22:29:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-11-12T22:29:54-04:00</updated>

		<published>2006-11-12T22:29:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68005#p68005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68005#p68005"/>
		<title type="html"><![CDATA[How do I make a bind mask to a set range of numbers?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68005#p68005"><![CDATA[
One way of doing it, using regular expressions...<div class="codebox"><p>Code: </p><pre><code>bind pubm - * the_procproc the_proc {nick host handle channel text} { if {[regexp -- {^[[:digit:]]+$} $text]} {  #$text was a number } {  #$text was not a number }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Nov 12, 2006 10:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Justdabomb2]]></name></author>
		<updated>2006-11-12T19:59:52-04:00</updated>

		<published>2006-11-12T19:59:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67986#p67986</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67986#p67986"/>
		<title type="html"><![CDATA[How do I make a bind mask to a set range of numbers?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67986#p67986"><![CDATA[
yeah, I thought of that, but how would I do that...ince the numbers can range between 10,000<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8244">Justdabomb2</a> — Sun Nov 12, 2006 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-11-12T17:02:07-04:00</updated>

		<published>2006-11-12T17:02:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67980#p67980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67980#p67980"/>
		<title type="html"><![CDATA[How do I make a bind mask to a set range of numbers?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67980#p67980"><![CDATA[
Modify to suit your needs:<div class="codebox"><p>Code: </p><pre><code>for {set i 0} {$i &lt; $number} {incr i} { bind pub - $i yourproc}</code></pre></div>I'd suggest however you keep $number relatively small, since you're creating one new binding per number between 0 and $number. (the only other option would be to use a pubm-binding with "*" as mask and then check wether it's a number or not within the proc itself...)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun Nov 12, 2006 5:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Justdabomb2]]></name></author>
		<updated>2006-11-12T14:20:27-04:00</updated>

		<published>2006-11-12T14:20:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67969#p67969</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67969#p67969"/>
		<title type="html"><![CDATA[How do I make a bind mask to a set range of numbers?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67969#p67969"><![CDATA[
show me how!.... pleasse<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8244">Justdabomb2</a> — Sun Nov 12, 2006 2:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-12T13:22:21-04:00</updated>

		<published>2006-11-12T13:22:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67958#p67958</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67958#p67958"/>
		<title type="html"><![CDATA[How do I make a bind mask to a set range of numbers?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67958#p67958"><![CDATA[
You'd use a "for" or a "while" and increment a count-var.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 12, 2006 1:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Justdabomb2]]></name></author>
		<updated>2006-11-12T11:48:54-04:00</updated>

		<published>2006-11-12T11:48:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67940#p67940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67940#p67940"/>
		<title type="html"><![CDATA[How do I make a bind mask to a set range of numbers?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67940#p67940"><![CDATA[
The number would be set earlier in the script (DUUUH). and it would be a pub or pubm.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8244">Justdabomb2</a> — Sun Nov 12, 2006 11:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-11-12T11:43:17-04:00</updated>

		<published>2006-11-12T11:43:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67939#p67939</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67939#p67939"/>
		<title type="html"><![CDATA[How do I make a bind mask to a set range of numbers?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67939#p67939"><![CDATA[
What kind of bind? where is the "number" coming from?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Nov 12, 2006 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Justdabomb2]]></name></author>
		<updated>2006-11-12T11:22:50-04:00</updated>

		<published>2006-11-12T11:22:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67938#p67938</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67938#p67938"/>
		<title type="html"><![CDATA[How do I make a bind mask to a set range of numbers?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67938#p67938"><![CDATA[
I want to make a bind that will respond to any number between 0 and $number. How would I do that?<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8244">Justdabomb2</a> — Sun Nov 12, 2006 11:22 am</p><hr />
]]></content>
	</entry>
	</feed>
