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

	<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-07-25T16:59:57-04:00</updated>

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

		<entry>
		<author><name><![CDATA[onair]]></name></author>
		<updated>2006-07-25T16:59:57-04:00</updated>

		<published>2006-07-25T16:59:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64865#p64865</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64865#p64865"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64865#p64865"><![CDATA[
oké that seems to work, thank guys for the great support <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=8011">onair</a> — Tue Jul 25, 2006 4:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-07-25T16:17:48-04:00</updated>

		<published>2006-07-25T16:17:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64863#p64863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64863#p64863"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64863#p64863"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msg - !say msg_sayproc msg_say {nick uhost hand arg} {  if {[llength [set arg [split $arg]]] &lt; 2} {    putserv "NOTICE $nick :Syntax: /msg $::botnick $::lastbind &lt;#channel&gt; &lt;message&gt;."  } else {    if {[string index [set chan [lindex $arg 0]] != "#" || ![validchan $chan]} {      putserv "NOTICE $nick :Invalid channel '$chan'."    } else {      putserv "PRIVMSG $chan :[join [lrange $arg 1 end]]"      putserv "NOTICE $nick :Message sent to $chan."    }  }} </code></pre></div>a much cleaner version.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Tue Jul 25, 2006 4:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zero]]></name></author>
		<updated>2006-07-25T15:25:53-04:00</updated>

		<published>2006-07-25T15:25:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64858#p64858</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64858#p64858"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64858#p64858"><![CDATA[
Try this <div class="codebox"><p>Code: </p><pre><code>bind msg - !say msg_sayproc msg_say {nick uhost hand arg} {  if {$arg == ""} {    putserv "NOTICE $nick :Syntax: /msg $::botnick $::lastbind &lt;#channel&gt; &lt;message&gt;."  } else {    set chan [lindex [split $arg] 0]    set message [join [lrange [split $arg] 1 end]]    if {[string index $chan 0] != "#"} {      putserv "NOTICE $nick :Channel must start with '#'."    } elseif {![validchan $chan]} {      putserv "NOTICE $nick :Invalid channel '$chan'."    } elseif {$message == ""} {      putserv "NOTICE $nick :No message entered. Please use: /msg $::botnick !say $chan &lt;message here&gt;."    } else {      putserv "PRIVMSG $chan :$message"      putserv "NOTICE $nick :Message sent to $chan."    }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8009">Zero</a> — Tue Jul 25, 2006 3:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[onair]]></name></author>
		<updated>2006-07-25T14:50:10-04:00</updated>

		<published>2006-07-25T14:50:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64857#p64857</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64857#p64857"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64857#p64857"><![CDATA[
oké the error is gone it was a forgotten } but still got the same problem:<br><br>(20:46:22) -&gt; *botnick* !say #channel test ] [<br>(20:46:23) (botnick): test \] {[}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8011">onair</a> — Tue Jul 25, 2006 2:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[onair]]></name></author>
		<updated>2006-07-25T14:27:59-04:00</updated>

		<published>2006-07-25T14:27:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64856#p64856</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64856#p64856"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64856#p64856"><![CDATA[
It give a error at line 3, Tosser^^<br><br>» missing close-brace while executing<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8011">onair</a> — Tue Jul 25, 2006 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2006-07-25T13:08:43-04:00</updated>

		<published>2006-07-25T13:08:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64854#p64854</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64854#p64854"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64854#p64854"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msg - !say msg_sayproc msg_say {nick uhost hand arg} {  if {$arg == ""} {    putserv "NOTICE $nick :Syntax: /msg $::botnick $::lastbind &lt;#channel&gt; &lt;message&gt;."  } else {    set chan [lindex [split $arg] 0]    set message [lrange $arg 1 end]    if {[string index $chan 0] != "#"} {      putserv "NOTICE $nick :Channel must start with '#'."    } elseif {![validchan $chan]} {      putserv "NOTICE $nick :Invalid channel '$chan'."    } elseif {$message == ""} {      putserv "NOTICE $nick :No message entered. Please use: /msg $::botnick !say $chan &lt;message here&gt;."    } else {      putserv "PRIVMSG $chan :$message"      putserv "NOTICE $nick :Message sent to $chan."    }}</code></pre></div>Not tested, but should work...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Tue Jul 25, 2006 1:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[onair]]></name></author>
		<updated>2006-07-25T12:54:25-04:00</updated>

		<published>2006-07-25T12:54:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64852#p64852</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64852#p64852"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64852#p64852"><![CDATA[
oeps i was forgotten to say many thanks to zero and Tosser^^<br>quick response and great help thank you guys <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=8011">onair</a> — Tue Jul 25, 2006 12:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[onair]]></name></author>
		<updated>2006-07-25T12:38:33-04:00</updated>

		<published>2006-07-25T12:38:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64851#p64851</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64851#p64851"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64851#p64851"><![CDATA[
Yeps works just fine, i already found a script on this lovely site, but it shows [ &amp; ] like {[} &amp; /] do you know guys why? thats the script<br><div class="codebox"><p>Code: </p><pre><code>bind msg - !say msg_sayproc msg_say {nick uhost hand args} {    global botnick     if {[llength [lindex $args 0]]&lt;2} {        putserv "NOTICE $nick :/msg $botnick !say &lt;#chan&gt; &lt;something to say&gt;"    } else {        set chan [lindex [lindex $args 0] 0]        if { ![validchan $chan]} {            putserv "NOTICE $nick :\"$chan\": invalid chan."            return 0        }        set msg [lrange [lindex $args 0] 1 end]    }    #putchan $chan $msg    putserv "PRIVMSG $chan :$msg"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8011">onair</a> — Tue Jul 25, 2006 12:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[r0t3n]]></name></author>
		<updated>2006-07-25T12:23:23-04:00</updated>

		<published>2006-07-25T12:23:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64850#p64850</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64850#p64850"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64850#p64850"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set ::mainchan "#channel" bind msgm - * msg:mainchan proc msg:mainchan {nick host hand arg} {   puthelp "PRIVMSG $::mainchan :$nick Query: $arg"   puthelp "PRIVMSG $nick :Sorry I'm a Eggdrop..." } </code></pre></div>Fixed error made by Zero<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6300">r0t3n</a> — Tue Jul 25, 2006 12:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Zero]]></name></author>
		<updated>2006-07-25T11:02:43-04:00</updated>

		<published>2006-07-25T11:02:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64848#p64848</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64848#p64848"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64848#p64848"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set ::mainchan "#channel"bind msgm - * msg:mainchanproc msg:mainchan {nick host hand arg} {  puthelp "PRIVMSG $::mainchan "$nick Query: $arg"  puthelp "PRIVMSG $nick :Sorry I'm a Eggdrop..."}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8009">Zero</a> — Tue Jul 25, 2006 11:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[onair]]></name></author>
		<updated>2006-07-25T09:18:39-04:00</updated>

		<published>2006-07-25T09:18:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=64844#p64844</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=64844#p64844"/>
		<title type="html"><![CDATA[Copy PM's to a channel]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=64844#p64844"><![CDATA[
I'm looking for a script that copy the private message text to a mainchannel, so when someone pm's my bot it will copy the whole line in the main channel, when it's possible i can choose the nicks so that not all the pm's will show in the main channel<br><br>thank in advance,<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8011">onair</a> — Tue Jul 25, 2006 9:18 am</p><hr />
]]></content>
	</entry>
	</feed>
