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

	<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-06T00:23:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[kris]]></name></author>
		<updated>2006-09-12T21:50:22-04:00</updated>

		<published>2006-09-12T21:50:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66296#p66296</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66296#p66296"/>
		<title type="html"><![CDATA[thanks.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66296#p66296"><![CDATA[
ill have a look, ill see what there is to fix, if their is another one ill remove it, ive made a few different ones, but ill try.<br><br>Kris<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8180">kris</a> — Tue Sep 12, 2006 9:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-09-12T14:51:55-04:00</updated>

		<published>2006-09-12T14:51:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66287#p66287</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66287#p66287"/>
		<title type="html"><![CDATA[Random Text Grabber [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66287#p66287"><![CDATA[
@rosc:<br>Actually, using [list ...] to generate lists is preferred to trying to craft your own list structures by hand...<br>Anyway, the error at hand here is that "rand" seems to have been replaced by a different function/proc that does'nt take a "limit"-value<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Sep 12, 2006 2:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-09-12T14:47:46-04:00</updated>

		<published>2006-09-12T14:47:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66286#p66286</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66286#p66286"/>
		<title type="html"><![CDATA[Random Text Grabber [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66286#p66286"><![CDATA[
You don't need to have the "set reply" outside of the proc, just put it above the putquick. And use this kind of format:<div class="codebox"><p>Code: </p><pre><code>set reply {{Whatever reply}{2nd reply}{Reply three}}</code></pre></div>That's what I use anyway, there's more than one way to do random stuff like this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Tue Sep 12, 2006 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-09-12T14:45:31-04:00</updated>

		<published>2006-09-12T14:45:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66285#p66285</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66285#p66285"/>
		<title type="html"><![CDATA[Random Text Grabber [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66285#p66285"><![CDATA[
Got any scripts that might've renamed rand?<br>(hint, search all your scripts for "rename rand")<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Sep 12, 2006 2:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kris]]></name></author>
		<updated>2006-11-06T00:23:45-04:00</updated>

		<published>2006-09-12T10:51:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=66273#p66273</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=66273#p66273"/>
		<title type="html"><![CDATA[Random Text Grabber [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=66273#p66273"><![CDATA[
Basically, it grabs the text from the variable and displays it, its a simple love script.<div class="codebox"><p>Code: </p><pre><code>bind pub -|- `random pub_randomproc pub_random {nick host hand channel text} {global replyputquick "PRIVMSG $channel \00306* $nick would like to send $text :[lindex $reply [rand [llength $reply]]]"}set reply [list "\"A Box of chocolates\"" "\"a single white rose\"" "\"A pile of dog poo\"" "\"Nothing, Dump them!\"" ]</code></pre></div>The error it comes up with is: <br>[00:49] Tcl error [pub_random]: wrong # args: should be "rand"[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8180">kris</a> — Tue Sep 12, 2006 10:51 am</p><hr />
]]></content>
	</entry>
	</feed>
