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

	<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>2009-08-14T15:46:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2009-08-14T15:46:57-04:00</updated>

		<published>2009-08-14T15:46:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89876#p89876</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89876#p89876"/>
		<title type="html"><![CDATA[Hello !join !part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89876#p89876"><![CDATA[
Put this snipplet on your <strong class="text-strong">Hub</strong> bot or the bot you want to issue the commands with. <div class="codebox"><p>Code: </p><pre><code>bind pub n|- !join pub:joinbind pub n|- !part pub:partbind pub n|- !notice pub:noticebind pub n|- !say pub:sayproc 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 }}proc pub:notice {nick host hand chan text} { set dest [lindex [split $text] 0] set notc [join [lrange [split $text] 1 end]] if {$dest == ""} {  puthelp "NOTICE $nick :No Target Given: will use this channel!"  set dest "$chan" } if {$notc == ""} {  puthelp "NOTICE $nick :No text given."  return 0 } putallbots "bnotice $dest $notc" puthelp "NOTICE $dest :$notc" return 1}proc pub:say {nick host hand chan text} { set dest [lindex [split $text] 0] set msg [join [lrange [split $text] 1 end]] if {$dest == ""} {  puthelp "NOTICE $nick :No Target Given: will use this channel"  set dest "$chan" } if {$msg == ""} {  puthelp "NOTICE $nick :No Text given"  return 0 } putallbots "bsay $dest $msg" puthelp "PRIVMSG $dest :$msg" return 1}</code></pre></div> And Place this snipplet on <strong class="text-strong">all</strong> the other bots <div class="codebox"><p>Code: </p><pre><code>bind bot - bjoin bot:bjoinbind bot - bpart bot:bpartbind bot - bnotice bot:bnoticebind bot - bsay bot:bsayproc bot:bjoin {from command text} { set newchan [lindex [split $text] 1] if {![validchan "$newchan"]} {  channel add $newchan  return }}proc bot:bpart {from command text} { set oldchan [lindex [split $text] 1] if {[validchan "$oldchan"]} {  channel remove $oldchan  return }}proc bot:bnotice {from command text} { set dest [lindex [split $text] 1] set notc [join [lrange [split $text] 2 end]] puthelp "NOTICE $dest :$notc" return}proc bot:bsay {from command text} { set dest [lindex [split $text] 1] set msg [join [lrange [split $text] 2 end]] puthelp "PRIVMSG $dest :$msg" return}</code></pre></div> simpulz yes <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Aug 14, 2009 3:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2009-08-14T14:15:32-04:00</updated>

		<published>2009-08-14T14:15:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89875#p89875</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89875#p89875"/>
		<title type="html"><![CDATA[Hello !join !part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89875#p89875"><![CDATA[
MenzAgitat<br><br>Thanks but its not working and please pt !notice nick also please<br>i try this on my channel it dosnt work<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Fri Aug 14, 2009 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MenzAgitat]]></name></author>
		<updated>2009-08-14T13:46:32-04:00</updated>

		<published>2009-08-14T13:46:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89874#p89874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89874#p89874"/>
		<title type="html"><![CDATA[Hello !join !part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89874#p89874"><![CDATA[
extract from Bazman`s SuPeRsCrIpT v1.0 (translated in french by me but you can easily find the original script) :<div class="codebox"><p>Code: </p><pre><code>bind pub n|n !join pub_do_joinproc pub_do_join {nick host handle channel testes} {  set who [lindex $testes 0]  if {$who == ""} {    putserv "NOTICE $nick :Syntaxe : !join &lt;#channel&gt;"    return 1  }  if {[validchan $who]} {    putserv "NOTICE $nick : Je suis déjà sur $who."    return 1  }  channel add $who  set owna [nick2hand $nick $channel]  putserv "NOTICE $nick :Nouveau chan ajouté : $who."  putserv "PRIVMSG $who :Coucou ! $who a été ajouté à ma liste de chans par $nick."  chattr $owna |+amno $who  return 1}bind pub n|n !part pub_do_partproc pub_do_part {nick host handle channel testes} {  if {$testes == ""} {    putserv "NOTICE $nick :Syntaxe : !part &lt;#channel&gt;"    return 1  }  putserv "PRIVMSG $channel :$testes a été supprimé de ma liste de chans par $nick."  putserv "NOTICE $nick :$testes a été supprimé de ma liste de chans."  channel remove $testes}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7933">MenzAgitat</a> — Fri Aug 14, 2009 1:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2009-08-14T12:18:00-04:00</updated>

		<published>2009-08-14T12:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89873#p89873</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89873#p89873"/>
		<title type="html"><![CDATA[Hello !join !part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89873#p89873"><![CDATA[
yah But if you can make it a bit more advance?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Fri Aug 14, 2009 12:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-08-14T07:25:17-04:00</updated>

		<published>2009-08-14T07:25:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89870#p89870</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89870#p89870"/>
		<title type="html"><![CDATA[Hello !join !part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89870#p89870"><![CDATA[
just a rough scratch as I dont have much time at the moment:<br><div class="codebox"><p>Code: </p><pre><code>proc addchannel { from cmd text } {set text [split $text]set chan [lindex $text 0]channel add $chan}proc remchannel { from cmd text } {set text [split $text]set chan [lindex $text 0]channel remove $chan}</code></pre></div>try to build something around it.<br><br>//edit:<br><br>{ from cmd text } is for bind bot<br>use<br>{ nick uhost handle chan text }<br>for bind pub to make eggdrops get info from channels<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Fri Aug 14, 2009 7:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thanhas]]></name></author>
		<updated>2009-08-14T07:20:44-04:00</updated>

		<published>2009-08-14T07:20:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89868#p89868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89868#p89868"/>
		<title type="html"><![CDATA[Hello !join !part]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89868#p89868"><![CDATA[
Hllo iam  been tired alot to search after i am failed i am here to ask you guys help me please<br><br>i need a TCl which works for me:<br><br>When i am in Channel #xyz and i have there 4 Eggdrops there so by one command of me !join #zzzz all 4 shuold join there.<br>and so own for Part !part #zzz and all do part<br><br>it shuold work only for Owner and if possile put !say nick hello or !notice nick Hello <br><br>Thank you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8161">Thanhas</a> — Fri Aug 14, 2009 7:20 am</p><hr />
]]></content>
	</entry>
	</feed>
