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

	<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>2013-02-10T21:13:18-04:00</updated>

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

		<entry>
		<author><name><![CDATA[duarteper]]></name></author>
		<updated>2013-02-10T21:13:18-04:00</updated>

		<published>2013-02-10T21:13:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100966#p100966</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100966#p100966"/>
		<title type="html"><![CDATA[join part tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100966#p100966"><![CDATA[
thanks for your help Madalin<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12154">duarteper</a> — Sun Feb 10, 2013 9:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-02-09T13:26:47-04:00</updated>

		<published>2013-02-09T13:26:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100956#p100956</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100956#p100956"/>
		<title type="html"><![CDATA[join part tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100956#p100956"><![CDATA[
This is the correct or atleast this is what the script would look like<br><br>When you would type !join/part #channel the command will be sent over botnet and other bots linked will join/part depending on the command<br><div class="codebox"><p>Code: </p><pre><code>bind pub n|n !join pub:joinbind pub n|n !join pub:part### BOTNET beginbind BOT - bjoin bjoinbind BOT - bpart bpartproc bjoin {from key arg} {if {![validchan [lindex [split $arg] 0]]} {channel add [lindex [split $arg] 0]}}proc bpart {from key arg} {if {[validchan [lindex [split $arg] 0]]} {channel remove [lindex [split $arg] 0]}}### botnet endproc pub:join {nick host hand chan text} {set newchan [lindex [split $text] 0]if {$newchan == ""} {puthelp "NOTICE $nick :No Channel Given."return 0}putallbots "bjoin $newchan"if {![validchan "$newchan"]} {channel add $newchanreturn 1} else {puthelp "NOTICE $nick :I'm already on that channel"return 0}}proc pub:part {nick host hand chan text} {set oldchan [lindex [split $text] 0]if {$oldchan == ""} {puthelp "NOTICE $nick :Please give a channel name."return 0}putallbots "bpart $oldchan"if {[validchan "$oldchan"]} {channel remove $oldchanreturn 1} else {puthelp "NOTICE $nick :I'm not on \002$oldchan\002"return 0}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Sat Feb 09, 2013 1:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[duarteper]]></name></author>
		<updated>2013-02-09T13:15:02-04:00</updated>

		<published>2013-02-09T13:15:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100954#p100954</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100954#p100954"/>
		<title type="html"><![CDATA[join part tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100954#p100954"><![CDATA[
i need help with this tcl<br><div class="codebox"><p>Code: </p><pre><code>bind pub n|n !join pub:join bind pub n|n !join pub:part proc pub:join {nick host hand chan text} { set newchan [lindex [split $text] 0] if {$newchan == ""} { puthelp "NOTICE $nick :No Channel Given." return 0 } putallbots "bjoin $newchan" if {![validchan "$newchan"]} { channel add $newchan return 1 } else { puthelp "NOTICE $nick :I'm already on that channel" return 0 } } proc pub:part {nick host hand chan text} { set oldchan [lindex [split $text] 0] if {$oldchan == ""} { puthelp "NOTICE $nick :Please give a channel name." return 0 } putallbots "bpart $oldchan" if {[validchan "$oldchan"]} { channel remove $oldchan return 1 } else { puthelp "NOTICE $nick :I'm not on \002$oldchan\002" return 0 } } </code></pre></div>some say that doesnt have the part where the other linked bots receive the JOIN/PART command.<br><br>how can i make it work ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12154">duarteper</a> — Sat Feb 09, 2013 1:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
