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

	<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>2010-08-22T13:46:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Torrevado]]></name></author>
		<updated>2010-08-22T13:44:50-04:00</updated>

		<published>2010-08-22T13:44:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94058#p94058</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94058#p94058"/>
		<title type="html"><![CDATA[different [rand values] (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94058#p94058"><![CDATA[
Yeah, that is.<br>Thank you very much <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8047">Torrevado</a> — Sun Aug 22, 2010 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2010-08-22T12:26:22-04:00</updated>

		<published>2010-08-22T12:26:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94056#p94056</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94056#p94056"/>
		<title type="html"><![CDATA[Re: different [rand values]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94056#p94056"><![CDATA[
<blockquote class="uncited"><div>Hello,<br><br>I'd like to know how to get two different random values. Value 1 + Value 2 *must* be = 100<br><br>I tried <br><div class="codebox"><p>Code: </p><pre><code>set value1 [rand 100]set value2 [rand 100]</code></pre></div>Obviously doing addition of both values, the result can be less than 100 or upto 200.</div></blockquote>How about :<div class="codebox"><p>Code: </p><pre><code>set value2 [expr 100 - $value1]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sun Aug 22, 2010 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Torrevado]]></name></author>
		<updated>2010-08-22T13:46:10-04:00</updated>

		<published>2010-08-22T11:52:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94054#p94054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94054#p94054"/>
		<title type="html"><![CDATA[different [rand values] (SOLVED)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94054#p94054"><![CDATA[
Hello,<br><br>I'd like to know how to get two different random values. Value 1 + Value 2 *must* be = 100<br><br>I tried <br><div class="codebox"><p>Code: </p><pre><code>set value1 [rand 100]set value2 [rand 100]</code></pre></div>Obviously doing addition of both values, the result can be less than 100 or upto 200.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8047">Torrevado</a> — Sun Aug 22, 2010 11:52 am</p><hr />
]]></content>
	</entry>
	</feed>
