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

	<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>2006-06-21T19:09:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-06-21T19:09:00-04:00</updated>

		<published>2006-06-21T19:09:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64254#p64254</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64254#p64254"/>
		<title type="html"><![CDATA[How to msg more chans?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64254#p64254"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind dcc n hello hellodccproc hellodcc {hand idx arg} { # call your proc from here}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Jun 21, 2006 7:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Danko]]></name></author>
		<updated>2006-06-21T11:17:15-04:00</updated>

		<published>2006-06-21T11:17:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64250#p64250</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64250#p64250"/>
		<title type="html"><![CDATA[How to msg more chans?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64250#p64250"><![CDATA[
Thank you. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>One last Q; If I also want to be able to use the command from partyline (.hello ..), what do I have to add? coz "proc myproc {n h h c a}" wont work from partyline, right..?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7471">Danko</a> — Wed Jun 21, 2006 11:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-06-21T10:55:19-04:00</updated>

		<published>2006-06-21T10:55:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64249#p64249</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64249#p64249"/>
		<title type="html"><![CDATA[How to msg more chans?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64249#p64249"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set mychans(1) "#chan1,#chan2,#chan3,#chan4"set mychans(2) "#chan5,#chan6,#chan7,#chan8"set mychans(3) "#chan9,#chan10,#chan11,#chan12"for {set i 1} {$i &lt; [array size mychans]} {incr i} {  putquick "PRIVMSG $mychans($i) :bla bla"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Wed Jun 21, 2006 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Danko]]></name></author>
		<updated>2006-06-21T05:22:51-04:00</updated>

		<published>2006-06-21T05:22:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64243#p64243</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64243#p64243"/>
		<title type="html"><![CDATA[How to msg more chans?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64243#p64243"><![CDATA[
Ahh, i see now why it didnt work with "," as chan seperator also, but thats prolly because I was testing on a server with maxtargets=1.<br><br>However, seems like MAXTARGETS=4 is pretty usual among servers.<br>Lets say i for example want to msg to 12 chans, could i just do something like;<br><div class="codebox"><p>Code: </p><pre><code>set mychans(1) "#chan1,#chan2,#chan3,#chan4"set mychans(2) "#chan5,#chan6,#chan7,#chan8"set mychans(2) "#chan9,#chan10,#chan11,#chan12"...putquick "PRIVMSG $mychans(1) :Abcedf $input" putquick "PRIVMSG $mychans(2) :Abcedf $input" putquick "PRIVMSG $mychans(3) :Abcedf $input"</code></pre></div>Would that be the easiest solution, or would it be any better way to do it?<br>(dont think about flood etc, i'm just thinking in general)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7471">Danko</a> — Wed Jun 21, 2006 5:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-06-21T05:00:05-04:00</updated>

		<published>2006-06-21T05:00:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64242#p64242</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64242#p64242"/>
		<title type="html"><![CDATA[How to msg more chans?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64242#p64242"><![CDATA[
use "," instead of " " to seperate channels. please note that the maximum channels to send to at once is determined by "maxtargets" (can be seen while connection in raw log). Also addional spam detection might be installed for multitarget messages (like immediatly terminate connection on advertising URLs, channel names, in color or whatever).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Jun 21, 2006 5:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Danko]]></name></author>
		<updated>2006-06-21T04:56:36-04:00</updated>

		<published>2006-06-21T04:56:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64241#p64241</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64241#p64241"/>
		<title type="html"><![CDATA[How to msg more chans?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64241#p64241"><![CDATA[
Let's say I have a small proc, and I want to msg the same to more than only one chan;<br><div class="codebox"><p>Code: </p><pre><code>bind pub !hello hellotestset mychans "#chan1 #chan2" (??!)proc delpre {nick host hand channel arg} {global mychans set input [lindex [split $arg] 1] putquick "PRIVMSG $mychans :Abcedf $input"}</code></pre></div>When I'm using this my bot only msg to #chan1 with text #chan2.. A solution would ofcourse be to add yet another putquick privmsg line, but I'd like to avoid that.. Any tips?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7471">Danko</a> — Wed Jun 21, 2006 4:56 am</p><hr />
]]></content>
	</entry>
	</feed>
