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

	<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-06-08T07:33:56-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stevenjm]]></name></author>
		<updated>2006-06-08T07:33:56-04:00</updated>

		<published>2006-06-08T07:33:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63824#p63824</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63824#p63824"/>
		<title type="html"><![CDATA[&quot;uniformly&quot; randomizing arrays]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63824#p63824"><![CDATA[
Hi all<br><br>I have the following set ... <br><div class="codebox"><p>Code: </p><pre><code>set acrosbynum([expr [array size acrosbynum]+1]) $textset acrosbyname([strlwr $nick]) $textset acrorealnames([strlwr $nick]) $nickset acronumsbyname([strlwr $nick]) [array size acrosbynum]set acronamesbynum([array size acrosbynum]) [strlwr $nick]</code></pre></div>Now ... the problem is when this displays to the channel later on ... each user that submitted first - will always be displayed first ... i wish to change this.<br><div class="codebox"><p>Code: </p><pre><code>while {$_i&lt;=[array size acrosbynum]} {putmsg $acrochan "$_i. [strlwr $acrosbynum($_i)]"set acrovotes($_i) 0incr _i}</code></pre></div>I am able to change randomise the acrosbynum etc induviualy, but it will put everything out of sync. <br><br>Does anyone have a suggestion for this ... i know its way beyond my current scope of knowledge <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7763">stevenjm</a> — Thu Jun 08, 2006 7:33 am</p><hr />
]]></content>
	</entry>
	</feed>
