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

	<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>2002-09-01T12:04:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T12:04:49-04:00</updated>

		<published>2002-09-01T12:04:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10304#p10304</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10304#p10304"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10304#p10304"><![CDATA[
Heh, I only meant it to be some example code.. I should have said that you should only use it if you choose what to return 1 on.<p>Statistics: Posted by Guest — Sun Sep 01, 2002 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-01T11:56:45-04:00</updated>

		<published>2002-09-01T11:56:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10303#p10303</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10303#p10303"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10303#p10303"><![CDATA[
You should note, if you look in tcl-commands.doc, that it only applies to msg, and not msgm.<br><br>As for the raw bind, you should never use this tactic.<br><br>It will prevent any incoming PRIVMSG tagged as detined for the eggdrop.<br><br>This will include any CTCP or PRIVMSG commands.<br><br>This, people will not receive replies to CTCP ping, or DCC chats.<br><br>It defeasts the whole idea of allowing users to trigger commands, while not displaying a putlog line, as it will prevent both.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 01, 2002 11:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T11:38:37-04:00</updated>

		<published>2002-09-01T11:38:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10301#p10301</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10301#p10301"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10301#p10301"><![CDATA[
My code supresses the bot's output..<p>Statistics: Posted by Guest — Sun Sep 01, 2002 11:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T11:26:09-04:00</updated>

		<published>2002-09-01T11:26:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10299#p10299</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10299#p10299"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10299#p10299"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind msgm - * testproc test {nick uhand handle text} {return 0}</code></pre></div>should work? right?<br><br>Yes I've tried return 0<p>Statistics: Posted by Guest — Sun Sep 01, 2002 11:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-01T11:24:06-04:00</updated>

		<published>2002-09-01T11:24:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10298#p10298</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10298#p10298"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10298#p10298"><![CDATA[
Have you tried using<div class="codebox"><p>Code: </p><pre><code>return 0</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 01, 2002 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T11:21:42-04:00</updated>

		<published>2002-09-01T11:21:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10297#p10297</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10297#p10297"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10297#p10297"><![CDATA[
I've read it.. and I've used return lots of times before...<br><br>But it has no effect on the log output...<p>Statistics: Posted by Guest — Sun Sep 01, 2002 11:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-01T11:17:17-04:00</updated>

		<published>2002-09-01T11:17:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10296#p10296</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10296#p10296"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10296#p10296"><![CDATA[
return &lt;number goes here&gt;<br><br>As I said, read tcl-commands.doc.<br><br>It has information on what return value you should give to log information, supress information, make eggdrop ignore it or make eggdrop continue prcessing the command itself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 01, 2002 11:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T11:13:54-04:00</updated>

		<published>2002-09-01T11:13:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10295#p10295</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10295#p10295"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10295#p10295"><![CDATA[
WOW, Thanks... Just what I was looking for, could you give me an example of the syntax to supress msg's?<p>Statistics: Posted by Guest — Sun Sep 01, 2002 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-01T11:04:18-04:00</updated>

		<published>2002-09-01T11:04:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10292#p10292</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10292#p10292"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10292#p10292"><![CDATA[
See tcl-commands.doc for information regarding return values.<br><br>These will help you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 01, 2002 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T10:54:22-04:00</updated>

		<published>2002-09-01T10:54:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10290#p10290</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10290#p10290"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10290#p10290"><![CDATA[
What I'm talking about is when somebody opens a query and sends a msg to the bot<br><div class="codebox"><p>Code: </p><pre><code>/msg [bot] hi, whats up?</code></pre></div>This will be shown in the log/telnet as <div class="codebox"><p>Code: </p><pre><code>[16:52] [TomSommer!~tomsommer@sdnat1.dk-tv.net] hi, whats up?</code></pre></div>But, my script responds to these msg's and so I don't need to see the raw log from the bot in the telnet/log... so I want to halt these default outputs<br><br>I really don't understand your code Iridium, because your code will still show the default output made by the bot when it receives a msg?<p>Statistics: Posted by Guest — Sun Sep 01, 2002 10:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T10:41:13-04:00</updated>

		<published>2002-09-01T10:41:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10288#p10288</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10288#p10288"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10288#p10288"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>    (17) RAW (stackable)         bind raw &lt;flags&gt; &lt;keyword-mask&gt; &lt;proc&gt;         procname &lt;from&gt; &lt;keyword&gt; &lt;text&gt;         Description: previous versions of Eggdrop required a special compile           option to enable this binding, but it's now standard. The mask           is checked against the keyword (either a numeric, like "368",           or a keyword, like "PRIVMSG"). from will be the server name or           the source user (depending on the keyword); flags are ignored.           The order of the arguments is identical to the order that the           IRC server sends to the bot. The pre-processing only splits it           apart enough to determine the keyword. If the proc returns 1,           Eggdrop will not process the line any further (this could cause           your bot to behave oddly in some cases).         Module: server</code></pre></div>Example: (tested)<br><div class="codebox"><p>Code: </p><pre><code>bind raw - "PRIVMSG" mycommandproc mycommand {from keyword txt} {   global botnick  if {[lindex [split $txt] 0]==$botnick} {    putlog "Blah | $from | $keyword | $txt"   return 1  } }</code></pre></div>$txt is in the form:<div class="codebox"><p>Code: </p><pre><code>$botnick :text sent to bot</code></pre></div>$keyword just contains "PRIVMSG"<br>and $from contains the full userhost of the person who sent the message<p>Statistics: Posted by Guest — Sun Sep 01, 2002 10:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-01T10:20:06-04:00</updated>

		<published>2002-09-01T10:20:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10284#p10284</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10284#p10284"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10284#p10284"><![CDATA[
Yes and no.<br><br>it all depends what sort of messages.<br><br>Give an example of the messages.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Sep 01, 2002 10:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-01T09:34:06-04:00</updated>

		<published>2002-09-01T09:34:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10281#p10281</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10281#p10281"/>
		<title type="html"><![CDATA[Halt default output]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10281#p10281"><![CDATA[
Hi, I'm looking for a way to halt the default output...<br><br>like, if someone msg's the bot, it will be shown in the partyline, but I want to halt this (only halt some msg's) in my script, any way to do this?<p>Statistics: Posted by Guest — Sun Sep 01, 2002 9:34 am</p><hr />
]]></content>
	</entry>
	</feed>
