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

	<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>2022-07-26T01:06:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[mabrook]]></name></author>
		<updated>2022-07-26T01:06:38-04:00</updated>

		<published>2022-07-26T01:06:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111203#p111203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111203#p111203"/>
		<title type="html"><![CDATA[Relay Chan1 &amp; Chan2 to Chan3 on 1 eggdrop &amp; 1 server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111203#p111203"><![CDATA[
thank you.. it is working ..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12921">mabrook</a> — Tue Jul 26, 2022 1:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-07-25T10:35:16-04:00</updated>

		<published>2022-07-25T10:35:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111202#p111202</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111202#p111202"/>
		<title type="html"><![CDATA[Relay Chan1 &amp; Chan2 to Chan3 on 1 eggdrop &amp; 1 server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111202#p111202"><![CDATA[
This changes a little bit the way the script will work:<div class="codebox"><p>Code: </p><pre><code>namespace eval spy {   setudef flag spy   variable dest "#chan3"   bind pubm - * ::spy::spub   proc spub {nick uhost handle chan text} {      if {![channel get $chan spy]} { return }      putserv "PRIVMSG $::spy::dest :${nick}${chan}&gt; $text"   }   bind join - * ::spy::sjoin   proc sjoin {nick uhost handle chan} {      if {![channel get $chan spy]} { return }      putserv "PRIVMSG $::spy::dest :--&gt; $nick joined $chan"   }   bind part - * ::spy::spart   proc spart {nick uhost handle chan reason} {      if {![channel get $chan spy]} { return }      putserv "PRIVMSG $::spy::dest :&lt;-- $nick leaved $chan ($reason)"   }}</code></pre></div>Now, you can activate the spy on any channel you want, and deactivate it.<br><br>Think to <strong class="text-strong">never</strong> do a .chanset #chan3 +spy (when #chan3 is the destination channel)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Mon Jul 25, 2022 10:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mabrook]]></name></author>
		<updated>2022-07-25T07:52:11-04:00</updated>

		<published>2022-07-25T07:52:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111201#p111201</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111201#p111201"/>
		<title type="html"><![CDATA[Relay Chan1 &amp; Chan2 to Chan3 on 1 eggdrop &amp; 1 server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111201#p111201"><![CDATA[
@CrazyCat<br><br>can you please add on/off for the script.<br><br><br>chanset #channel -spy<br>chanset #channel +spy<br><br><br><br>thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12921">mabrook</a> — Mon Jul 25, 2022 7:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mabrook]]></name></author>
		<updated>2022-07-24T03:19:57-04:00</updated>

		<published>2022-07-24T03:19:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111200#p111200</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111200#p111200"/>
		<title type="html"><![CDATA[Relay Chan1 &amp; Chan2 to Chan3 on 1 eggdrop &amp; 1 server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111200#p111200"><![CDATA[
This is working 99%, tested.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12921">mabrook</a> — Sun Jul 24, 2022 3:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2022-07-07T03:06:16-04:00</updated>

		<published>2022-07-07T03:06:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111198#p111198</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111198#p111198"/>
		<title type="html"><![CDATA[Relay Chan1 &amp; Chan2 to Chan3 on 1 eggdrop &amp; 1 server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111198#p111198"><![CDATA[
Here is a simple script (untested) for relaying pub, join and part, feel free to add others (kicks, quits, act, ...):<div class="codebox"><p>Code: </p><pre><code>namespace eval spy {   variable src {"#chan1" "#chan2"}   variable dest "#chan3"   bind pubm - * ::spy::spub   proc spub {nick uhost handle chan text} {      if {[lsearch -nocase $::spy::src $chan]==-1} { return }      putserv "PRIVMSG $::spy::dest :${nick}${chan}&gt; $text"   }   bind join - * ::spy::sjoin   proc sjoin {nick uhost handle chan} {      if {[lsearch -nocase $::spy::src $chan]==-1} { return }      putserv "PRIVMSG $::spy::dest :--&gt; $nick joined $chan"   }   bind part - * ::spy::spart   proc spart {nick uhost handle chan reason} {      if {[lsearch -nocase $::spy::src $chan]==-1} { return }      putserv "PRIVMSG $::spy::dest :&lt;-- $nick leaved $chan ($reason)"   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Jul 07, 2022 3:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mvp1]]></name></author>
		<updated>2022-07-07T01:19:04-04:00</updated>

		<published>2022-07-07T01:19:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=111197#p111197</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=111197#p111197"/>
		<title type="html"><![CDATA[Relay Chan1 &amp; Chan2 to Chan3 on 1 eggdrop &amp; 1 server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=111197#p111197"><![CDATA[
Hi Guys,<br><br>I am after something very simple. I have an eggdrop on one server, e.g Dalnet, and I want it to join 3 channels, e.g #Chan1 , #Chan2 and #Chan3<br><br>And I want it to relay everything (chat,joins/parts etc etc) from #Chan1 and #Chan2 into #Chan3<br><br>Is there anything already available? Of if anyone can help with a simple TCL code please?<br><br>Many thanks in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12960">mvp1</a> — Thu Jul 07, 2022 1:19 am</p><hr />
]]></content>
	</entry>
	</feed>
