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

	<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-10-25T16:08:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-10-25T16:08:23-04:00</updated>

		<published>2008-10-25T16:08:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85637#p85637</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85637#p85637"/>
		<title type="html"><![CDATA[join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85637#p85637"><![CDATA[
thnx a lot ;&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Sat Oct 25, 2008 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-10-25T11:35:59-04:00</updated>

		<published>2008-10-25T11:35:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85633#p85633</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85633#p85633"/>
		<title type="html"><![CDATA[join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85633#p85633"><![CDATA[
.+chan is a dcc partyline command, it will not work with tcl scripting. You have to use the tcl API for this (see doc/tcl-commands.doc for a full listing).<br>The command you are looking for is called <strong class="text-strong">channel</strong>, see a few examples below:<div class="codebox"><p>Code: </p><pre><code>#Add channel #mychan with default settingschannel add #mychan#Add channel #mychan with some custom settingschannel add #mychan [list +greet -bitch +autoop]#Remove channel #mychanchannel remove #mychan</code></pre></div>There are other options available with the <strong class="text-strong">channel</strong> command, see the doc/tcl-commands.doc document for full documentation.<br><br>On a sidenote, you really should'nt use <strong class="text-strong">lindex</strong> with untrusted strings. Please considder using <strong class="text-strong">split</strong> to convert the string into a list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Oct 25, 2008 11:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-10-25T11:18:38-04:00</updated>

		<published>2008-10-25T11:18:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85632#p85632</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85632#p85632"/>
		<title type="html"><![CDATA[join/part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85632#p85632"><![CDATA[
Hello, <br><br>can i put one code one of my tcl and when some proc run bot join into a channel and with other proc part from this channel<br><br>i try with +chan but cant ready offcource. any solution? <br><br>example my tcl :<div class="codebox"><p>Code: </p><pre><code>proc g_spamjoin { nick uhost handle arg } {global g_spamchannel g_spamchannel2 g_spamchannel3 g_spamchannel4 g_spamchannel5 g_spamchannel6 g_spamchannel7 g_spamchannel8 g_spamchannel9 g_spamnumset g_spamnum [lindex $arg 0]if { $g_spamnum == 1 } {set g_spamchannel [lindex $arg 1]+chan $g_spamchannel.......</code></pre></div>thnx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Sat Oct 25, 2008 11:18 am</p><hr />
]]></content>
	</entry>
	</feed>
