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

	<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>2002-05-10T15:30:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-10T15:30:00-04:00</updated>

		<published>2002-05-10T15:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6825#p6825</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6825#p6825"/>
		<title type="html"><![CDATA[randomly picks from a list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6825#p6825"><![CDATA[
thanks for you help this in my script has realy improved my script<p>Statistics: Posted by Guest — Fri May 10, 2002 3:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-05-10T13:55:00-04:00</updated>

		<published>2002-05-10T13:55:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6820#p6820</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6820#p6820"/>
		<title type="html"><![CDATA[randomly picks from a list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6820#p6820"><![CDATA[
You didn't global the 'rand' variable <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Fri May 10, 2002 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-10T13:50:00-04:00</updated>

		<published>2002-05-10T13:50:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6818#p6818</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6818#p6818"/>
		<title type="html"><![CDATA[randomly picks from a list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6818#p6818"><![CDATA[
not to worry i have found the answear in a previous post<br><br>set list {<br>"cool"<br>"cold"<br>"refreshing"<br>"delightfull"<br>"beautifull"<br>"splended"<br>"stunning"<br>"wicked"<br>"tastfull"<br>"nice"<br>"wonderfull"<br>"magnificent"<br>"georgious"<br>"lovely"<br>"class"<br>}<br><br>bind pub - !fosters fosters<br> proc fosters {nick host handle chan text} {<br>global list<br>  puthelp "PRIVMSG $chan :01ACTION gives 4$nick 12a [lindex $list [rand [llength $list]]] pint of fosters"<br> }<p>Statistics: Posted by Guest — Fri May 10, 2002 1:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-10T13:31:00-04:00</updated>

		<published>2002-05-10T13:31:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6817#p6817</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6817#p6817"/>
		<title type="html"><![CDATA[randomly picks from a list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6817#p6817"><![CDATA[
what is wrong with this i get <br>Tcl error [fosters]: can't read "rand": no such variable<br><br><br>set list {<br>"cool"<br>"cold"<br>"refreshing"<br>"delightfull"<br>"beautifull"<br>"splended"<br>"stunning"<br>"wicked"<br>"tastfull"<br>"nice"<br>"wonderfull"<br>"magnificent"<br>"georgious"<br>"lovely"<br>"class"<br>}<br><br>set rand [lindex $list [rand [llength $list]]]<br>bind pub - !fosters fosters<br> proc fosters {nick host handle chan text} {<br>  puthelp "PRIVMSG $chan :01ACTION gives 4$nick 12a $rand pint of fosters"<br> }<p>Statistics: Posted by Guest — Fri May 10, 2002 1:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wcc]]></name></author>
		<updated>2002-05-10T01:09:00-04:00</updated>

		<published>2002-05-10T01:09:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6803#p6803</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6803#p6803"/>
		<title type="html"><![CDATA[randomly picks from a list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6803#p6803"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set rand [lindex $list [rand [llength $list]]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=270">Wcc</a> — Fri May 10, 2002 1:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-10T00:30:00-04:00</updated>

		<published>2002-05-10T00:30:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6802#p6802</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6802#p6802"/>
		<title type="html"><![CDATA[randomly picks from a list]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6802#p6802"><![CDATA[
i have a list of about 20 words and wish to be able to pick 1 at random and add it to some fixed text being sent to $chan how would i got about this<p>Statistics: Posted by Guest — Fri May 10, 2002 12:30 am</p><hr />
]]></content>
	</entry>
	</feed>
