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

	<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>2004-07-15T05:18:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-07-15T05:18:18-04:00</updated>

		<published>2004-07-15T05:18:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38647#p38647</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38647#p38647"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38647#p38647"><![CDATA[
Naw, the script works fine and doesnt seem to choke on the brackets<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Thu Jul 15, 2004 5:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-07-13T09:17:27-04:00</updated>

		<published>2004-07-13T09:17:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38563#p38563</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38563#p38563"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38563#p38563"><![CDATA[
nvm<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Jul 13, 2004 9:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-13T03:38:11-04:00</updated>

		<published>2004-07-13T03:38:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38530#p38530</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38530#p38530"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38530#p38530"><![CDATA[
dollar, here sometimes just gets too frustrated, heh  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"> <br><br>Maybe dollar helped him, but he might have a problem with those ] and [ chars, so I tried to help him, by letting him know... that they might cause a problem. Not at the first time, because the random one selected might not be the one with the ]'s or ['s but once its selected, it will choke and an error will occur. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>This doesn't mean we only need to correct the thing the person asked for, we can correct the things, also which we can see.. can cause trouble later onwards.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Tue Jul 13, 2004 3:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-07-13T03:09:49-04:00</updated>

		<published>2004-07-13T03:09:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38529#p38529</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38529#p38529"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38529#p38529"><![CDATA[
There is alot of newcomers to tcl reading these forums aswell as the more experienced, so there is nothing unnessesary in stating the obvious from time to time. <br>Yes. They could and should use the search button before posting to see if their question has already been answered.. but by reading other posts you get the kind of information you might not need at the present, but most likely will need in the future.<br>Hell.. I've learned ALOT that way <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>If there is one thing people should learn, it is to be careful with the "special characters" in tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Tue Jul 13, 2004 3:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-12T21:20:49-04:00</updated>

		<published>2004-07-12T21:20:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38509#p38509</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38509#p38509"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38509#p38509"><![CDATA[
And what was the meaning with that post awyeah.<br><br>The problem was already solved and everyone is happy, so there is no need for you to be stating the obvious like you've been doing on most threads on this forum lately. <br><br>It's unnecessary and kinda annoying.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 12, 2004 9:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-12T21:13:58-04:00</updated>

		<published>2004-07-12T21:13:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38507#p38507</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38507#p38507"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38507#p38507"><![CDATA[
Yeah, I think he wanted them to be displayed as a list. Rather than using foreach and displaying each defined nick seperately.<br><br>By the way, for this specific nick in your nicklist:<br><div class="codebox"><p>Code: </p><pre><code>[screw]mjuertah</code></pre></div>You might want to try and escape it with the "\" character, so it doesn't make the procedure choke on special characters, which would be:<br><div class="codebox"><p>Code: </p><pre><code>\[screw\]mjuertah</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Jul 12, 2004 9:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-07-12T11:09:36-04:00</updated>

		<published>2004-07-12T11:09:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38483#p38483</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38483#p38483"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38483#p38483"><![CDATA[
Ah, It works like a charm now <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=5078">metroid</a> — Mon Jul 12, 2004 11:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-12T10:56:39-04:00</updated>

		<published>2004-07-12T10:56:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38482#p38482</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38482#p38482"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38482#p38482"><![CDATA[
ok, instead of the foreach, pick a random user with something like this<br><div class="codebox"><p>Code: </p><pre><code>set user [lindex $users [rand [llength $users]]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 12, 2004 10:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-07-12T10:35:26-04:00</updated>

		<published>2004-07-12T10:35:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38478#p38478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38478#p38478"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38478#p38478"><![CDATA[
hmm, the script doesn't work as i planned it to do so,<br><br>I wanted the script to pick a random name from the set users part and use it once, what the script does now is use all nicks<br><br>so now im getting:<div class="codebox"><p>Code: </p><pre><code>&lt;bot&gt; blah blah &lt;name&gt;&lt;bot&gt; mooo&lt;bot&gt; blah blah &lt;name2&gt;&lt;bot&gt; mooo&lt;bot&gt; blah blah &lt;name3&gt;&lt;bot&gt; mooo&lt;bot&gt; blah blah &lt;name4&gt;&lt;bot&gt; mooo</code></pre></div>when i want it to do:<div class="codebox"><p>Code: </p><pre><code>&lt;bot&gt; blah blah &lt;random name from list&gt;&lt;bot&gt; mooo</code></pre></div>Only 1 name, not all of them :&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Jul 12, 2004 10:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-07-12T10:29:39-04:00</updated>

		<published>2004-07-12T10:29:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38475#p38475</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38475#p38475"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38475#p38475"><![CDATA[
nono, i didnt mix it up, i wanted the bot to pm $text not the user :&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Jul 12, 2004 10:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2004-07-12T09:58:02-04:00</updated>

		<published>2004-07-12T09:58:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38473#p38473</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38473#p38473"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38473#p38473"><![CDATA[
You have to read the users one by one using foreach, and you mixed up $text and $user in the notice..<br><br>Try this <div class="codebox"><p>Code: </p><pre><code>set users {[screw]mjuertahdot2|Zekkjykh330lgur641}bind pub - !moo pub:mooproc pub:moo {nick uhost hand chan text} {global users foreach user $users {   putquick "NOTICE $user :blah blah $text"   putquick "NOTICE $user :mooo" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Mon Jul 12, 2004 9:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-07-12T09:48:49-04:00</updated>

		<published>2004-07-12T09:48:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38472#p38472</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38472#p38472"/>
		<title type="html"><![CDATA[Don't understand -_-]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38472#p38472"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set users {[screw]mjuertahdot2|Zekkjykh330lgur641}bind pub - !moo pub:mooproc pub:moo {nick uhost hand chan text} {                 global usersputquick "NOTICE $text :Blah blah $users"putquick "NOTICE $text :mooo"}</code></pre></div>What i want this code to do is pm the person said in text (yes its a crappy code but i made it fast) but the thing is it won't say users while i think i did it right? I should do one of those randomly?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Jul 12, 2004 9:48 am</p><hr />
]]></content>
	</entry>
	</feed>
