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

	<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-02-23T07:51:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-02-23T07:51:47-04:00</updated>

		<published>2009-02-23T07:51:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87522#p87522</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87522#p87522"/>
		<title type="html"><![CDATA[Write msg from notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87522#p87522"><![CDATA[
@speechles, yeah right<br><div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/oswiecim/./eu/./org# home page: http://tomekk.oswiecim.eu.org/## Version 0.1## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.html# output channelsset output_chans {#channel1 #channel2}# user host:# *user@*.host.com,# user@some.host.com# user@some.*.com# *@some.host.comset user_host "user@some.host.com"#################################################bind notc - * notc_procproc notc_proc { nick uhost hand arg {dest ""}} {global output_chans user_host botnickif {$dest == ""} {set dest $botnick}if {$dest == $botnick} {if {[string match $user_host $uhost]} {       foreach nchan [split $output_chans] {if {$nchan != ""} {if {[botonchan $nchan]} {putquick "PRIVMSG $nchan :$arg"}}}}}}putlog "simple-notice.tcl ver 0.1 by tomekk loaded"</code></pre></div>@Robertus<br>You have to decrypt it or something.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Mon Feb 23, 2009 7:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Robertus]]></name></author>
		<updated>2009-02-22T15:18:27-04:00</updated>

		<published>2009-02-22T15:18:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87514#p87514</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87514#p87514"/>
		<title type="html"><![CDATA[Write msg from notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87514#p87514"><![CDATA[
nice it works, but i use blowfish and when bot write in channel, it write crypted <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9250">Robertus</a> — Sun Feb 22, 2009 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2009-02-22T14:40:22-04:00</updated>

		<published>2009-02-22T14:40:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87513#p87513</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87513#p87513"/>
		<title type="html"><![CDATA[Write msg from notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87513#p87513"><![CDATA[
You don't check if the notice is sent to a channel or the bot. So anyone matching the host will have their notice relayed by the bot even in a channel notice. A channel notice by that user, in another channel will be sent to the output_chans which might not be wanted. You may want to add a check against $dest ( [string index $dest 0] == # ) to detect if it's to a channel or to the bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Feb 22, 2009 2:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-02-22T08:44:54-04:00</updated>

		<published>2009-02-22T08:44:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87510#p87510</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87510#p87510"/>
		<title type="html"><![CDATA[Write msg from notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87510#p87510"><![CDATA[
try:<div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/oswiecim/./eu/./org# home page: http://tomekk.oswiecim.eu.org/## Version 0.1## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.html# output channelsset output_chans {#channel1 #channel2}# user host:# *user@*.host.com,# user@some.host.com# user@some.*.com# *@some.host.comset user_host "user@some.host.com"#################################################bind notc - * notc_procproc notc_proc { nick uhost hand arg {dest ""}} {global output_chans user_hostif {[string match $user_host $uhost]} {       foreach nchan [split $output_chans] {if {$nchan != ""} {if {[botonchan $nchan]} {putquick "PRIVMSG $nchan :$arg"}}}}}putlog "simple-notice.tcl ver 0.1 by tomekk loaded"</code></pre></div>Is this enough for you? <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=10332">tomekk</a> — Sun Feb 22, 2009 8:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Robertus]]></name></author>
		<updated>2009-02-21T14:03:36-04:00</updated>

		<published>2009-02-21T14:03:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87506#p87506</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87506#p87506"/>
		<title type="html"><![CDATA[Write msg from notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87506#p87506"><![CDATA[
hi everybody<br><br>i have a little problem, i want a simple tcl that write a message from a notice of a particular user with particular host.<br><br>example:<br><br>/notice mybot TEST1<br><br>on irc:<br><br>&lt;mybot&gt; TEST1<br><br>thanks in advance to all<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9250">Robertus</a> — Sat Feb 21, 2009 2:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
