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

	<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-05T21:40:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-05T21:40:38-04:00</updated>

		<published>2006-11-05T21:40:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67774#p67774</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67774#p67774"/>
		<title type="html"><![CDATA[Adding Nick@Host to this line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67774#p67774"><![CDATA[
oh thanks, works now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 05, 2006 9:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2006-11-05T21:37:47-04:00</updated>

		<published>2006-11-05T21:37:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67773#p67773</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67773#p67773"/>
		<title type="html"><![CDATA[Adding Nick@Host to this line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67773#p67773"><![CDATA[
You have two parts for the variable, you need to make it into one string by putting the contents on the variables into ""<br><div class="codebox"><p>Code: </p><pre><code>set text "$nick@[lindex [split $uhost @] 1] [lrange [split $arg] 0 end]"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Nov 05, 2006 9:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-05T20:40:59-04:00</updated>

		<published>2006-11-05T20:40:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67772#p67772</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67772#p67772"/>
		<title type="html"><![CDATA[Adding Nick@Host to this line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67772#p67772"><![CDATA[
That worked...<br><br>But<br><div class="codebox"><p>Code: </p><pre><code>set text $nick@[lindex [split $uhost @] 1][lrange [split $arg] 0 end] </code></pre></div>anyway to make it space?<br><br>set text $nick@[lindex [split $uhost @] 1]<strong class="text-strong">SPACE-HERE</strong>[lrange [split $arg] 0 end] <br><br>I tried making it:<br><div class="codebox"><p>Code: </p><pre><code>set text $nick@[lindex [split $uhost @] 1] [lrange [split $arg] 0 end] </code></pre></div>with a space and I get error:<br>[19:36] Tcl error [addgreet]: wrong # args: should be "set varName ?newValue?"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 05, 2006 8:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2006-11-05T20:33:00-04:00</updated>

		<published>2006-11-05T20:33:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67771#p67771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67771#p67771"/>
		<title type="html"><![CDATA[Adding Nick@Host to this line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67771#p67771"><![CDATA[
If your meaning you want Nickname!<a href="mailto:ident@some.tld.com">ident@some.tld.com</a><br><div class="codebox"><p>Code: </p><pre><code>$nick!$uhost</code></pre></div>If your meaning <a href="mailto:Nickname@some.tld.com">Nickname@some.tld.com</a><br><div class="codebox"><p>Code: </p><pre><code>$nick@[lindex [split $uhost @] 1]</code></pre></div>Otherwise please state more clearly what you mean.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Sun Nov 05, 2006 8:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-11-05T20:25:20-04:00</updated>

		<published>2006-11-05T20:25:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67770#p67770</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67770#p67770"/>
		<title type="html"><![CDATA[Adding Nick@Host to this line]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67770#p67770"><![CDATA[
Ok I need help with this line..<br><div class="codebox"><p>Code: </p><pre><code>set text [lrange [split $arg] 0 end]</code></pre></div>I'm trying to get it to save Nick@Hostmask with file as well...<br><br>I did this:<br><div class="codebox"><p>Code: </p><pre><code>set text ($uhost)[lrange [split $arg set by $uhost] 0 end]</code></pre></div>That worked but it won't let me space ($uhost)&lt;SPACE&gt;)[lrange [split $arg set by $uhost] 0 end] otherwise it saves as Nick@HostText here.<br><br>I know uhost isn't what I want either, trying to make it say Nick@Host but when I use $nick@$host it does Nck@host@host .. 1 host would be enough.<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Sun Nov 05, 2006 8:25 pm</p><hr />
]]></content>
	</entry>
	</feed>
