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

	<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>2001-09-30T17:21:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-09-30T17:21:00-04:00</updated>

		<published>2001-09-30T17:21:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=161#p161</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=161#p161"/>
		<title type="html"><![CDATA[A TCL request...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=161#p161"><![CDATA[
heh thanks pp <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=8">stdragon</a> — Sun Sep 30, 2001 5:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-30T12:32:00-04:00</updated>

		<published>2001-09-30T12:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=157#p157</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=157#p157"/>
		<title type="html"><![CDATA[A TCL request...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=157#p157"><![CDATA[
Thanks a bunch guys.<p>Statistics: Posted by Guest — Sun Sep 30, 2001 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-09-30T08:48:00-04:00</updated>

		<published>2001-09-30T08:48:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=154#p154</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=154#p154"/>
		<title type="html"><![CDATA[A TCL request...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=154#p154"><![CDATA[
strdarg, the man of the moment himself, teaches me the ways to splitting strings to lists, and forgets to do it himself. Well, partialy. He split the string, but forgot to use it.<br><br>It is advisable if you use this version instead.<br><div class="codebox"><p>Code: </p><pre><code>bind dcc m newhosts newhostsproc newhosts {hand idx text} {        set parts [split $text]        set target [lindex $parts 0]        set newhosts [lrange $parts 1 end]        if {![validuser $target]} {                putdcc $idx "syntax: .newhosts &lt;handle&gt; &lt;new host 1&gt; &lt;new host 2&gt; ..."                return 0        }        setuser $target HOSTS        foreach host $newhosts {                setuser $target HOSTS $host        }        return 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 30, 2001 8:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2001-09-30T02:22:00-04:00</updated>

		<published>2001-09-30T02:22:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=152#p152</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=152#p152"/>
		<title type="html"><![CDATA[A TCL request...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=152#p152"><![CDATA[
You can try this, I made the command ".newhosts" because it's shorter than ".overwritehosts" heh.<br><div class="codebox"><p>Code: </p><pre><code>bind dcc m newhosts newhostsproc newhosts {hand idx text} {        set parts [split $text]        set target [lindex $text 0]        set newhosts [lrange $text 1 end]        if {![validuser $target]} {                putdcc $idx "syntax: .newhosts &lt;handle&gt; &lt;new host 1&gt; &lt;new host 2&gt; ..."                return 0        }        setuser $target HOSTS        foreach host $newhosts {                setuser $target HOSTS $host        }        return 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sun Sep 30, 2001 2:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-09-30T00:23:00-04:00</updated>

		<published>2001-09-30T00:23:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=150#p150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=150#p150"/>
		<title type="html"><![CDATA[A TCL request...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=150#p150"><![CDATA[
Wonder if someone can script a little command for me?<br><br>Basically, it would be binded as m|m dcc and syntax would be .command hand host where the script would basically clear all the hosts of user "hand" and add the new hostmask "host."<br><br>Oh yea, one more thing, it would be great if you can come up with the dcc command name too cause I can't think of anything that would be meaningful and not conflict with existing commands. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by Guest — Sun Sep 30, 2001 12:23 am</p><hr />
]]></content>
	</entry>
	</feed>
