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

	<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>2011-07-15T10:18:17-04:00</updated>

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

		<entry>
		<author><name><![CDATA[heartbroken]]></name></author>
		<updated>2011-07-15T10:18:17-04:00</updated>

		<published>2011-07-15T10:18:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97212#p97212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97212#p97212"/>
		<title type="html"><![CDATA[wanna ask something]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97212#p97212"><![CDATA[
hi ..<br><br>may i ask you something about this code ?<br><br>i would like to ask that how can we set a nick or some of nicks in +piped channel .i mean if we would like to see only these nicks what typed in +piped channel ?.<br>how can we set nick/s in channel with this code ?<br><br>thnx..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11703">heartbroken</a> — Fri Jul 15, 2011 10:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2011-07-14T16:07:27-04:00</updated>

		<published>2011-07-14T16:07:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97208#p97208</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97208#p97208"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97208#p97208"><![CDATA[
Thanks speechless working great now<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Thu Jul 14, 2011 4:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2011-07-14T15:11:20-04:00</updated>

		<published>2011-07-14T15:11:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97207#p97207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97207#p97207"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97207#p97207"><![CDATA[
<blockquote class="uncited"><div>thanks speechless<br><br>following error<br><div class="codebox"><p>Code: </p><pre><code>[22:59:46] missing close-brace    while executing"proc juggle_chan {nick u h text {j 0}} { ]</code></pre></div></div></blockquote>DOH! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"> I missed a ending curly-brace in there, my bad. Try the edited code above it should work now. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Thu Jul 14, 2011 3:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2011-07-14T14:59:45-04:00</updated>

		<published>2011-07-14T14:59:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97206#p97206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97206#p97206"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97206#p97206"><![CDATA[
thanks speechless<br><br>following error<br><div class="codebox"><p>Code: </p><pre><code>[22:59:46] missing close-brace    while executing"proc juggle_chan {nick u h text {j 0}} { ]   set chan [lindex [split $text] 0]    if {![string length $chan] || [string first {#} $chan] != 0} {   ..."    (file "scripts/pipe.tcl" line 23)    invoked from within"source scripts/pipe.tcl"    (file "eggdrop.conf" line 1345)[22:59:46] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Thu Jul 14, 2011 2:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2011-07-14T15:17:05-04:00</updated>

		<published>2011-07-14T14:16:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97204#p97204</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97204#p97204"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97204#p97204"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># the channel flag and the channel name for all the piped stuff to go to.# change this to your ownset pipechannel "#PIPED_TO_CHANNEL" # flagsetudef flag pipe# the binds set to bot master ONLYbind pubm -|- * pipe_procbind msg m|m !join [list juggle_chan 0]bind msg m|m !part [list juggle_chan 1]# pipe flag# pipes all puplic msg's on a +piped channel to the one you set aboveproc pipe_proc {n u h channel text} {if {[channel get $channel pipe]} {putserv "PRIVMSG $::pipechannel :$text"}}# juggle channel# determine join or part and act accordinglyproc juggle_chan {j nick u h text} {set chan [lindex [split $text] 0]if {![string length $chan] || [string first {#} $chan] != 0} {# 0 = joinif {$j == 0} { puthelp "PRIVMSG $nick :!join &lt;#channel&gt;"# anything else, part} else {puthelp "PRIVMSG $nick :!part &lt;#channel&gt;"}} else {# 0 = joinif {$j == 0} {channel add $chanchannel set $chan +pipeputserv "PRIVMSG $nick :Joined $chan. Set +pipe on $chan."# anything else, part} else {channel remove $chanputserv "PRIVMSG $nick :Parted $chan. Unset +pipe on $chan."}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Thu Jul 14, 2011 2:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2011-07-14T10:37:21-04:00</updated>

		<published>2011-07-14T10:37:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97200#p97200</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97200#p97200"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97200#p97200"><![CDATA[
Hey<br><br>Ive been using this code on an older bot 6 19 im now trying to use it on 6 20 without success<br><div class="codebox"><p>Code: </p><pre><code># Rls: egghelp.org +pipe # Date: 08/09/10 # Coded by: doggo # Contact: #alt.binaries.inner-sanctum@EFNET ############################################# #the channel flag and the channel name for all the piped stuff to go to. setudef flag pipe set pipechannel "#PIPED_TO_CHANNEL" # change this to your own #the binds set to bot master ONLY bind pubm -|- * pipe_proc bind msg m|m !join join_chan bind msg m|m !leave leave_chan #the pipe : pipes all puplic msg's on a +piped channel to the one you set above proc pipe_proc { nickname hostname handle arg } {    if {[channel get $channel pipe] == 1 } {         putquick "PRIVMSG $::pipechannel :$arg"       } else {       putlog "Attention $channel is not +pipe."    } } #joins the channel and sets the joined channel +pipe. proc join_chan {nick uhost hand arg} { set _join "[lindex $arg 0]" set success 0 if {[expr { $_join == "" || [expr { [string index $_join 0] != "#"}] } ]} {    puthelp "PRIVMSG $nick :!join &lt;#channel&gt;"    return 1       } else {       set success 1       channel add $_join       putserv "PRIVMSG $nick :Joined $_join."    } if { $success == "1" } {          channel set $_join +pipe          putserv "PRIVMSG $nick :Set $_join +pipe"       } else {          putserv "PRIVMSG $nick :Error setting +pipe on $_join."    } } # no need to set -pipe as all channel records are removed anyway. proc leave_chan {nick uhost hand chan arg} { set leave "[lindex $arg 0]" if {[expr { $leave == "" || [expr { [string index $leave 0] != "#"}] } ]} {    puthelp "PRIVMSG $nick :Command usage:!leave &lt;#channel&gt;."    return 1       } else {       channel remove $leave       putserv "PRIVMSG $nick :left $leave."    } } putlog "egghelp.org +pipe by doggo #alt.biniries.inner-sanctum @EFNET"</code></pre></div>This is the error im getting<br><div class="codebox"><p>Code: </p><pre><code>wrong # args: should be "set varName ?newValue?"    while executing"set pipechannel "#Trainingroom" # change this to your own "    (file "scripts/pipe.tcl" line 9)    invoked from within"source scripts/pipe.tcl"    (file "eggdrop.conf" line 1359)</code></pre></div>Any ideas on how to correct this as ive said above i had no problems on an older version bot<br><br>Many thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Thu Jul 14, 2011 10:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-09T07:58:21-04:00</updated>

		<published>2010-09-09T07:58:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94299#p94299</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94299#p94299"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94299#p94299"><![CDATA[
Brill Thank you doggo<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Thu Sep 09, 2010 7:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-09-08T19:59:18-04:00</updated>

		<published>2010-09-08T19:59:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94290#p94290</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94290#p94290"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94290#p94290"><![CDATA[
change<br><div class="codebox"><p>Code: </p><pre><code>#the binds set to bot master ONLY bind pubm -|- * pipe_proc bind pub m|m !join join_chan bind pub m|m !leave leave_chan </code></pre></div>to <br><div class="codebox"><p>Code: </p><pre><code>#the binds set to bot master ONLY bind pubm -|- * pipe_proc bind msg m|m !join join_chan bind msg m|m !leave leave_chan </code></pre></div>and <br><div class="codebox"><p>Code: </p><pre><code>#joins the channel and sets the joined channel +pipe. proc join_chan {nick uhost hand chan arg} { # no need to set -pipe as all channel records are removed anyway. proc leave_chan {nick uhost hand chan arg} { </code></pre></div>to <br><div class="codebox"><p>Code: </p><pre><code>#joins the channel and sets the joined channel +pipe. proc join_chan {nick uhost hand arg} { # no need to set -pipe as all channel records are removed anyway. proc leave_chan {nick uhost hand arg} { </code></pre></div>and your good to go <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=11046">doggo</a> — Wed Sep 08, 2010 7:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-08T16:02:40-04:00</updated>

		<published>2010-09-08T16:02:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94284#p94284</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94284#p94284"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94284#p94284"><![CDATA[
Thanks doggo works exactly how i need it to but one small problem about 3 of my bots will be using this script and will all be in the same channel but need to pipe text from different channels so is it possible to change it to msg bind rather then pubm<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Wed Sep 08, 2010 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-09-08T10:48:23-04:00</updated>

		<published>2010-09-08T10:48:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94269#p94269</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94269#p94269"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94269#p94269"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Rls: egghelp.org +pipe# Date: 08/09/10# Coded by: doggo# Contact: #alt.binaries.inner-sanctum@EFNET##############################################the channel flag and the channel name for all the piped stuff to go to.setudef flag pipe set pipechannel "#PIPED_TO_CHANNEL" # change this to your own#the binds set to bot master ONLYbind pubm -|- * pipe_procbind pub m|m !join join_chanbind pub m|m !leave leave_chan#the pipe : pipes all puplic msg's on a +piped channel to the one you set aboveproc pipe_proc { nickname hostname handle channel arg } {if {[channel get $channel pipe] == 1 } {        putquick "PRIVMSG $::pipechannel :$arg"      } else {putlog "Attention $channel is not +pipe."}}#joins the channel and sets the joined channel +pipe.proc join_chan {nick uhost hand chan arg} {set _join "[lindex $arg 0]"set success 0if {[expr { $_join == "" || [expr { [string index $_join 0] != "#"}] } ]} {puthelp "PRIVMSG $nick :!join &lt;#channel&gt;"return 1} else {set success 1channel add $_joinputserv "PRIVMSG $nick :Joined $_join."}if { $success == "1" } {channel set $_join +pipeputserv "PRIVMSG $nick :Set $_join +pipe"} else {putserv "PRIVMSG $nick :Error setting +pipe on $_join."}}# no need to set -pipe as all channel records are removed anyway.proc leave_chan {nick uhost hand chan arg} {set leave "[lindex $arg 0]"if {[expr { $leave == "" || [expr { [string index $leave 0] != "#"}] } ]} { puthelp "PRIVMSG $nick :Command usage:!leave &lt;#channel&gt;."return 1} else {channel remove $leaveputserv "PRIVMSG $nick :left $leave."}}putlog "egghelp.org +pipe by doggo #alt.biniries.inner-sanctum @EFNET"</code></pre></div><br>hope this helps, works as you wanted just change the binds to suit..<br><br>will only work if user has the +m flag and the bot is on the channel<br><div class="codebox"><p>Code: </p><pre><code>!join #chan - this joins the channel and sets +pipe!leave #chan - this makes the bot leave the channel</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Wed Sep 08, 2010 10:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-08T08:32:36-04:00</updated>

		<published>2010-09-08T08:32:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94264#p94264</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94264#p94264"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94264#p94264"><![CDATA[
<blockquote class="uncited"><div>What exactly have you tried that crashed it? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"></div></blockquote>you should use:<div class="codebox"><p>Code: </p><pre><code>if {[channel get $c pipe]} {   # channel is +pipe, do something} else {   # channel is -pipe, do something else}</code></pre></div>I did so and the bot died on rehash <br><br>to be honest im baffled on were to start full stop with how to get it to join a channel and set the chanset option im okay on changing stuff and some how modifying things that i have all ready its just knowing how start something from scratch that gets me stumped<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Wed Sep 08, 2010 8:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2010-09-08T05:55:44-04:00</updated>

		<published>2010-09-08T05:55:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94262#p94262</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94262#p94262"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94262#p94262"><![CDATA[
What exactly have you tried that crashed it? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Sep 08, 2010 5:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-08T05:00:53-04:00</updated>

		<published>2010-09-08T05:00:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94261#p94261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94261#p94261"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94261#p94261"><![CDATA[
Done the above just crashed it <br>Any further help would be appreciated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Wed Sep 08, 2010 5:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2010-09-07T11:21:12-04:00</updated>

		<published>2010-09-07T11:21:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94246#p94246</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94246#p94246"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94246#p94246"><![CDATA[
Instead of:<div class="codebox"><p>Code: </p><pre><code>if {[lsearch -exact [channel info $c] {+pipe}] != "-1"} { </code></pre></div>you should use:<div class="codebox"><p>Code: </p><pre><code>if {[channel get $c pipe]} {# channel is +pipe, do something} else {# channel is -pipe, do something else}</code></pre></div>As for the rest, it's a simple bind for msg and a combination of 'channel set' +/-pipe.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Sep 07, 2010 11:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[blake]]></name></author>
		<updated>2010-09-07T10:15:51-04:00</updated>

		<published>2010-09-07T10:15:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=94237#p94237</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=94237#p94237"/>
		<title type="html"><![CDATA[relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=94237#p94237"><![CDATA[
Hey im using this script which I have slightly modified that relays text from one channel to another we currently use this as a script that has a training function on my irc<br><div class="codebox"><p>Code: </p><pre><code>setudef flag pipeset pipechannel "#Trainingroom1" bind pubm - * pipemsgechoproc pipemsgecho { n u h c t } {   if {[lsearch -exact [channel info $c] {+pipe}] != "-1"} {     global pipechannel     putserv "privmsg $pipechannel :$t"   }}</code></pre></div>Currently i have to join the partyline of my bot and do .chanset channel +pipe <br><br>What im looking to be able to do is send a privmsg to the bot such as +pipechannel #channelname the bot will then need to join the #channame and set the .chanset #channame +pipe this will also need to be able to do the opposite with -pipechannel #channel name the bot then leaves the channel and set .chanset #channame -pipe<br><br>Thanks for any help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10512">blake</a> — Tue Sep 07, 2010 10:15 am</p><hr />
]]></content>
	</entry>
	</feed>
