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

	<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>2003-09-09T04:39:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-09-09T04:39:00-04:00</updated>

		<published>2003-09-09T04:39:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26790#p26790</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26790#p26790"/>
		<title type="html"><![CDATA[bind any raw command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26790#p26790"><![CDATA[
The mIRC debug is excelent, however, can a simalar effect can be utilised in eggdrop.<br><br>See you cofnig file, there are two settings which enable 2 new console flags. One will let you see the incoming raw traffic and the other will allow you to see the outgoing traffic (usful to see what is going out to the server to cause a responce).<br><br>There are two binds that come to mind that would allow you to do "Wow this channel is huge".<br><br>1: Use timers or the time bind. Periodicaly check each channel, see when you last sent a message, if it is a new record, send the message.<br><br>2: Use the join bind. Simalar to above, however, it only does it when somebody join, aka, when something has happened in the channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Sep 09, 2003 4:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ribot]]></name></author>
		<updated>2003-09-08T16:44:03-04:00</updated>

		<published>2003-09-08T16:44:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26769#p26769</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26769#p26769"/>
		<title type="html"><![CDATA[bind any raw command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26769#p26769"><![CDATA[
alright i will do that then, thank you very much user.<br><br>caesar: good tip, i will do that, ty.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3812">ribot</a> — Mon Sep 08, 2003 4:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-09-08T16:40:37-04:00</updated>

		<published>2003-09-08T16:40:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26768#p26768</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26768#p26768"/>
		<title type="html"><![CDATA[bind any raw command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26768#p26768"><![CDATA[
A lil tip: When you want to find a certain raw use mirc to find it. Just do an <em class="text-italics">/debug @bla</em> and on the @bla window you will see everythings that comes and is going to and from the server. <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=187">caesar</a> — Mon Sep 08, 2003 4:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-08T16:37:37-04:00</updated>

		<published>2003-09-08T16:37:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26767#p26767</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26767#p26767"/>
		<title type="html"><![CDATA[bind any raw command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26767#p26767"><![CDATA[
Having several binds (let eggdrop do the parsing) will be much more efficient than having a "all incoming traffic"-bind and parse the data using tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Sep 08, 2003 4:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ribot]]></name></author>
		<updated>2003-09-08T16:34:40-04:00</updated>

		<published>2003-09-08T16:34:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26765#p26765</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26765#p26765"/>
		<title type="html"><![CDATA[bind any raw command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26765#p26765"><![CDATA[
i want to see what data is sent to the bot and how often different things are sent.<br><br>you are right, that what i need is the raw incoming server traffic, however i want to use this data in a tcl script and make variables count different raw events.<br><br>also, i dont want to affect the raw outgoing traffic, except for adding commands in my script.<br><br>it would be something like, when 10 users have joined a channel the bot will say:<br>OMG this channel is huge :O<br><br>but it's not that efficient to use other binds (like pubm, topc, notc, etc) since:<br>1)  im not sure if the binds can trigger on all incoming raw traffic<br>2)  i would have to make several binds instead of one<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3812">ribot</a> — Mon Sep 08, 2003 4:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-09-08T16:20:44-04:00</updated>

		<published>2003-09-08T16:20:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26763#p26763</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26763#p26763"/>
		<title type="html"><![CDATA[bind any raw command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26763#p26763"><![CDATA[
Binds that accept wildcards in the mask has this stated in the comment in tcl-commands.doc (raw is not one of them) What is the goal of this script? If it is to find the numeric of some server message I suggest checking out .console +r (see .help console)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Sep 08, 2003 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ribot]]></name></author>
		<updated>2003-09-08T16:15:26-04:00</updated>

		<published>2003-09-08T16:15:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26761#p26761</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26761#p26761"/>
		<title type="html"><![CDATA[bind any raw command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26761#p26761"><![CDATA[
hi!<br><br>I want my egg to tell me every raw command that it gets, so i tried the following code:<br><div class="codebox"><p>Code: </p><pre><code>bind raw *|* * perceptionproc perception { from keyword text } {  putlog "from keyword text"  putlog "$from $keyword $text"  return 0}</code></pre></div>It did not work, the process didn't even run, as i checked .binds.<br><br>I have return 0 there because of this text in tcl-commands, under RETURN VALUES:<blockquote class="uncited"><div>RAW   Return 1 to ask the bot not to process the server text. This<br>              can affect the bot's performance by causing it to miss things<br>              that it would normally act on -- you have been warned.</div></blockquote>I'm not sure what this means, but i understood it as it should return 0 to act normally.<br><br>What I want to do is make a set of variables which will increase any time a specific RAW command is made.undefined. The bot should still act normally though, and not disconnect or become k-lined or anything like that.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3812">ribot</a> — Mon Sep 08, 2003 4:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
