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

	<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>2022-09-22T08:42:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-09-22T08:42:36-04:00</updated>

		<published>2022-09-22T08:42:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111414#p111414</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111414#p111414"/>
		<title type="html"><![CDATA[A proc that generates random digits]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111414#p111414"><![CDATA[
thanks CrazyCat<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Sep 22, 2022 8:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-09-22T08:30:40-04:00</updated>

		<published>2022-09-22T08:30:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111413#p111413</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111413#p111413"/>
		<title type="html"><![CDATA[A proc that generates random digits]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111413#p111413"><![CDATA[
I don't really understand what you're asking for.<br><br>If you want a number between 100 and 250:<div class="codebox"><p>Code: </p><pre><code>set min 100set max 100set myrand [expr {$min + round(rand()*($max-$min))}]</code></pre></div>If you want a random number from a list:<div class="codebox"><p>Code: </p><pre><code>set items {10 25 50 75 100}set myrand [lindex $items [rand [llength $items]]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Sep 22, 2022 8:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simo]]></name></author>
		<updated>2022-09-22T07:54:52-04:00</updated>

		<published>2022-09-22T07:54:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111412#p111412</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111412#p111412"/>
		<title type="html"><![CDATA[A proc that generates random digits]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111412#p111412"><![CDATA[
greetz gentz,<br><br>i wanted to use random digits in range or specific digits to use in certain other tcls<br><br>for example:<blockquote class="uncited"><div>  100-350 </div></blockquote>or <br><blockquote class="uncited"><div> 10 50 100 200 250 </div></blockquote>and so on<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12505">simo</a> — Thu Sep 22, 2022 7:54 am</p><hr />
]]></content>
	</entry>
	</feed>
