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

	<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>2008-06-15T21:51:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-06-15T21:51:30-04:00</updated>

		<published>2008-06-15T21:51:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83551#p83551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83551#p83551"/>
		<title type="html"><![CDATA[on whois msg chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83551#p83551"><![CDATA[
For server notices, you will most likely need to use a raw binding.<br><div class="codebox"><p>Code: </p><pre><code>bind raw - NOTICE yourproc:rawnotice</code></pre></div>See tcl-commands.doc for the paramaters a raw binding is called with.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Jun 15, 2008 9:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[opsb]]></name></author>
		<updated>2008-06-15T19:53:32-04:00</updated>

		<published>2008-06-15T19:53:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83549#p83549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83549#p83549"/>
		<title type="html"><![CDATA[on whois msg chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83549#p83549"><![CDATA[
Even your code wont work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9270">opsb</a> — Sun Jun 15, 2008 7:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-06-14T21:29:09-04:00</updated>

		<published>2008-06-14T21:29:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83530#p83530</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83530#p83530"/>
		<title type="html"><![CDATA[on whois msg chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83530#p83530"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set wchan "#yourchan"bind notc - * wprocproc wproc {nick uhost hand text {dest ""} } {if {($dest == "" || [isbotnick $dest]) &amp;&amp; [regexp {(.+?)\sdid a /whois} $text -&gt; wwho]} {putserv "PRIVMSG $::wchan :$wwho just did a /whois on me."}}</code></pre></div>Greedy matching is needed in cases like this (.+? vs .*?) to contain as much of the line as possible. Also need to check the botnick is the one being sent the notice (the bot gets channel notices and without this check can set this script off erroneously).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Jun 14, 2008 9:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[opsb]]></name></author>
		<updated>2008-06-14T18:19:19-04:00</updated>

		<published>2008-06-14T18:19:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83529#p83529</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83529#p83529"/>
		<title type="html"><![CDATA[on whois msg chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83529#p83529"><![CDATA[
thnx for trying but not working for me <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=9270">opsb</a> — Sat Jun 14, 2008 6:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[username]]></name></author>
		<updated>2008-06-14T15:26:42-04:00</updated>

		<published>2008-06-14T15:26:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83527#p83527</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83527#p83527"/>
		<title type="html"><![CDATA[on whois msg chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83527#p83527"><![CDATA[
Try it: <div class="codebox"><p>Code: </p><pre><code>set wchan #yourchanbind notc - * wprocproc wproc {nick uhost hand text dest} { global wchan    if {[regexp {(.*?) did a /whois.*?} $text - wwho]} {        putserv "PRIVMSG $wchan :$wwho just did a /whois on me."    }}</code></pre></div>Such scripts better to write using RAW.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6813">username</a> — Sat Jun 14, 2008 3:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[opsb]]></name></author>
		<updated>2008-06-14T14:35:39-04:00</updated>

		<published>2008-06-14T14:35:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83526#p83526</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83526#p83526"/>
		<title type="html"><![CDATA[on whois msg chan]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83526#p83526"><![CDATA[
hi<br><br>I need script whick will msg chan setted in script when someone do whois on eggdrop<br><br>snotice is in format <br><div class="codebox"><p>Code: </p><pre><code>-irc.local.net- *** nick (ident@host) did a /whois on you.</code></pre></div>And after receiving whois notice, PRIVMSG chan in format<br><br>nick (ident@host) just did a /whois on me.<br><br>Regards<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9270">opsb</a> — Sat Jun 14, 2008 2:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
