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

	<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>2008-04-19T22:35:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[bradleylauchlin]]></name></author>
		<updated>2008-04-19T22:34:54-04:00</updated>

		<published>2008-04-19T22:34:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82432#p82432</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82432#p82432"/>
		<title type="html"><![CDATA[Duh]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82432#p82432"><![CDATA[
Yeah, I hadn't even thought about arrays (/me slams forehead on desk). Of course. Thanks for the help <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9861">bradleylauchlin</a> — Sat Apr 19, 2008 10:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-04-19T21:43:48-04:00</updated>

		<published>2008-04-19T21:43:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82431#p82431</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82431#p82431"/>
		<title type="html"><![CDATA[Re: variable inside set variable command?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82431#p82431"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>global recordsset records($chan) "etc"</code></pre></div>Arrays can easily accomplish this. A single global variable array is better than a multitude of seperate global strings floating around.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Apr 19, 2008 9:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bradleylauchlin]]></name></author>
		<updated>2008-04-19T22:35:14-04:00</updated>

		<published>2008-04-19T21:29:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82430#p82430</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82430#p82430"/>
		<title type="html"><![CDATA[variable inside set variable command? [Solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82430#p82430"><![CDATA[
Is it possible to use a variable inside a set command?<br><br>I have a bot that is in about 10 channels that I am using. I want it to record a certain piece of information on that channel. That is working, however the problem I am facing is that if it is set on antoehr channel, it becomes the same for ALL channels. I could just make it a different proc for each of the 10 channels, however I want to be able to scale this out to more channels as needed, and it would be a lot of work once it gets bigger.<br><br>Is there anyway to use something like the following?<br><br>global record_$chan<br>set record_$chan<br><br>So if the channel name was test the variable it was actually using would be record_test<br><br>Let me know if anyone knows the way to pull this off.<br>THanks <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9861">bradleylauchlin</a> — Sat Apr 19, 2008 9:29 pm</p><hr />
]]></content>
	</entry>
	</feed>
