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

	<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>2003-07-27T08:02:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-07-27T08:02:53-04:00</updated>

		<published>2003-07-27T08:02:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24017#p24017</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24017#p24017"/>
		<title type="html"><![CDATA[How to split this !nick &lt;name&gt; &lt;mail&gt; &lt;text&g]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24017#p24017"><![CDATA[
Stop using the variable name "args" if you don't need it / know what it does. (read about it here: <a href="http://tcl.tk/man/tcl8.4/TclCmd/proc.htm" class="postlink">http://tcl.tk/man/tcl8.4/TclCmd/proc.htm</a> )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sun Jul 27, 2003 8:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[minotaur]]></name></author>
		<updated>2003-07-27T02:03:03-04:00</updated>

		<published>2003-07-27T02:03:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24010#p24010</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24010#p24010"/>
		<title type="html"><![CDATA[Hmm no one any answer for me how?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24010#p24010"><![CDATA[
Hmm no one any answer for me how?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3458">minotaur</a> — Sun Jul 27, 2003 2:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[minotaur]]></name></author>
		<updated>2003-07-26T16:47:57-04:00</updated>

		<published>2003-07-26T16:47:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23998#p23998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23998#p23998"/>
		<title type="html"><![CDATA[How to split this !nick &lt;name&gt; &lt;mail&gt; &lt;text&g]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23998#p23998"><![CDATA[
But now the variable $name and $text (1st and Last Variable) has a leading { or a in $text atleast a } ??<br><br>How can i cut the first char out in $name<br>and the last in $text ?<br><br>or can someone post me a function that has that alreasy implemented?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3458">minotaur</a> — Sat Jul 26, 2003 4:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-07-26T12:26:11-04:00</updated>

		<published>2003-07-26T12:26:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23984#p23984</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23984#p23984"/>
		<title type="html"><![CDATA[How to split this !nick &lt;name&gt; &lt;mail&gt; &lt;text&g]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23984#p23984"><![CDATA[
oops  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_surprised.gif" width="15" height="15" alt=":o" title="Surprised"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Sat Jul 26, 2003 12:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-26T03:54:16-04:00</updated>

		<published>2003-07-26T03:54:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23969#p23969</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23969#p23969"/>
		<title type="html"><![CDATA[How to split this !nick &lt;name&gt; &lt;mail&gt; &lt;text&g]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23969#p23969"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set text [lindex $arg 2 end]</code></pre></div>this should be<div class="codebox"><p>Code: </p><pre><code>set text [join [lrange $arg 2 end]]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Sat Jul 26, 2003 3:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2003-07-25T23:26:49-04:00</updated>

		<published>2003-07-25T23:26:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23968#p23968</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23968#p23968"/>
		<title type="html"><![CDATA[How to split this !nick &lt;name&gt; &lt;mail&gt; &lt;text&g]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23968#p23968"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !nick addproc add { nick host handle chan arg } {set arg [split $arg] set name [lindex $arg 0] set email [lindex $arg 1] set text [lindex $arg 2 end] puthelp "NOTICE $nick :Hi $name with $email added and $text" }</code></pre></div>stuff:<br><br>name vars appropriately <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>"args" has special meaning in tcl, dont use it 'til you know what it does<br>"split" splits at &lt;space&gt; unless something else is specified<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Fri Jul 25, 2003 11:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[minotaur]]></name></author>
		<updated>2003-07-25T19:03:00-04:00</updated>

		<published>2003-07-25T19:03:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23966#p23966</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23966#p23966"/>
		<title type="html"><![CDATA[How to split this !nick &lt;name&gt; &lt;mail&gt; &lt;text&g]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23966#p23966"><![CDATA[
Yes i know it but how can i split it after each SPACE into another variable?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3458">minotaur</a> — Fri Jul 25, 2003 7:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-25T19:01:26-04:00</updated>

		<published>2003-07-25T19:01:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23965#p23965</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23965#p23965"/>
		<title type="html"><![CDATA[How to split this !nick &lt;name&gt; &lt;mail&gt; &lt;text&g]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23965#p23965"><![CDATA[
your lindex $args are not correct, try fixin them.<br>like set name [lindex $args 0] for example will read with spaces (i think) so u have to make it read only the first word.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Jul 25, 2003 7:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[minotaur]]></name></author>
		<updated>2003-07-25T18:52:58-04:00</updated>

		<published>2003-07-25T18:52:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23964#p23964</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23964#p23964"/>
		<title type="html"><![CDATA[How to split this !nick &lt;name&gt; &lt;mail&gt; &lt;text&g]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23964#p23964"><![CDATA[
HI i have a script like this<br><br>bind pub - "!nick" add<br><br>proc add { nick idx handle chan args } {<br>set name [lindex $args 0]<br>set email [lindex $args 1]<br>set text [lindex $args 2 end]<br><br>puthelp "NOTICE $nick :Hi $name with $email added and $text"<br>}<br><br>but now the notice is if i type: !nick mino <a href="mailto:mino@mino.com">mino@mino.com</a> mino is cool<br>he says per Notice "Hi mino<br><a href="mailto:mino@mino.com">mino@mino.com</a><br>mino is cool with added and "<br><br>What my fault?? PLz help me  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3458">minotaur</a> — Fri Jul 25, 2003 6:52 pm</p><hr />
]]></content>
	</entry>
	</feed>
