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

	<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>2005-09-22T08:08:09-04:00</updated>

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

		<entry>
		<author><name><![CDATA[dusk]]></name></author>
		<updated>2005-09-22T08:08:09-04:00</updated>

		<published>2005-09-22T08:08:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56000#p56000</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56000#p56000"/>
		<title type="html"><![CDATA[storing lines/ log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56000#p56000"><![CDATA[
<blockquote class="uncited"><div># This creates a logfile named lamest.log containing joins, parts, <br># netsplits, kicks, bans, mode changes, and <strong class="text-strong">public chat </strong>on the <br># channel #lamest. <br>logfile j<strong class="text-strong">p</strong>k #lamest "logs/lamest.log"</div></blockquote>That's it.<br><br>Grtz<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6042">dusk</a> — Thu Sep 22, 2005 8:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[brood]]></name></author>
		<updated>2005-09-22T04:49:13-04:00</updated>

		<published>2005-09-22T04:49:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55997#p55997</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55997#p55997"/>
		<title type="html"><![CDATA[storing lines/ log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55997#p55997"><![CDATA[
<blockquote class="uncited"><div>logging flag <strong class="text-strong">+p</strong> will cause saving of all public chat in the logfile, check eggdrop.conf</div></blockquote>I found the text in eggdrop.conf, but cant find where to change or ad flag +p to it:<br><blockquote class="uncited"><div>#Eggdrop is capable of logging various things, from channel chatter to<br># commands people use on the bot and file transfers. Logfiles are normally<br># kept for 24 hours. Afterwards, they will be renamed to "(logfile).yesterday".<br># After 48 hours, they will be overwritten by the logfile of the next day.<br>#<br># Events are logged by certain categories. This way, you can specify<br># exactly what kind of events you want sent to various logfiles.<br>#<br># Logfile flags:<br>#   b - information about bot linking and userfile sharing<br>#   c - commands<br>#   d - misc debug information<br>#   h - raw share traffic<br>#   j - joins, parts, quits, and netsplits on the channel<br>#   k - kicks, bans, and mode changes on the channel<br>#   m - private msgs, notices and ctcps to the bot<br>#   o - misc info, errors, etc (IMPORTANT STUFF)<br>#   p - public text on the channel<br>#   r - raw incoming server traffic<br>#   s - server connects, disconnects, and notices<br>#   t - raw botnet traffic<br>#   v - raw outgoing server traffic<br>#   w - wallops (make sure the bot sets +w in init-server)<br>#   x - file transfers and file-area commands<br>#<br># Note that modes d, h, r, t, and v can fill disk quotas quickly. There are<br># also eight user-defined levels ( 1-8 ) which can be used by Tcl scripts.<br>#<br># Each logfile belongs to a certain channel. Events of type 'k', 'j', and 'p'<br># are logged to whatever channel they happened on. Most other events are<br># currently logged to every channel. You can make a logfile belong to all<br># channels by assigning it to channel "*".<br><br># This is the maximum number of logfiles allowed. This setting can be<br># increased; however, don't decrease it.<br>set max-logs 5<br><br># This is the maximum size of your logfiles. Set it to 0 to disable.<br># This value is in kilobytes, so '550' would mean cycle logs when it<br># reaches the size of 550 kilobytes. Note that this only works if you<br># have keep-all-logs 0 (OFF).<br>set max-logsize 0<br><br># This could be good if you have had problem with the logfile filling<br># your quota/hard disk or if you log +p and publish it to the web and<br># need more up-to-date info. Note that this setting might increase the<br># CPU usage of your bot (on the other hand it will decrease your mem usage).<br>set quick-logs 0<br><br># This setting allows you the logging of raw incoming server traffic via<br># console/log flag 'r', raw outgoing server traffic via console/log mode 'v',<br># raw botnet traffic via console/log mode 't', and raw share traffic via<br># console/log mode 'h'. These flags can create a large security hole,<br># allowing people to see user passwords. This is now restricted to +n users<br># only. Please choose your owners with care.<br>set raw-log 0<br><br># This creates a logfile named eggdrop.log containing private msgs/ctcps,<br># commands, errors, and misc. info from any channel.<br>logfile mco * "logs/eggdrop.log"<br><br># This creates a logfile named lamest.log containing joins, parts,<br># netsplits, kicks, bans, mode changes, and public chat on the<br># channel #lamest.<br>logfile jpk #lamest "logs/lamest.log"<br><br># Use this feature to timestamp entries in the log file.<br>set log-time 1<br><br># If you want to keep your logfiles forever, turn this setting on. All<br># logfiles will get suffix ".[day, 2 digits][month, 3 letters][year, 4 digits]".<br># Note that your quota/hard-disk might be filled by this, so check your<br># logfiles often and download them.<br>set keep-all-logs 0<br><br># If keep-all-logs is 1, this setting will define the suffix of the logfiles.<br># The default will result in a suffix like "04May2000". "%Y%m%d" will produce<br># the often used yyyymmdd format. Read the strftime manpages for more options.<br># NOTE: On systems which don't support strftime, the default format will<br># be used _always_.<br>set logfile-suffix ".%d%b%Y"<br><br># You can specify when Eggdrop should switch logfiles and start fresh. You<br># must use military time for this setting. 300 is the default, and describes<br># 03:00 (AM).<br>set switch-logfiles-at 300<br><br># "Writing user file..." and "Writing channel file..." messages won't be<br># logged anymore if this option is enabled.<br>set quiet-save 0</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6675">brood</a> — Thu Sep 22, 2005 4:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-21T12:02:16-04:00</updated>

		<published>2005-09-21T12:02:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55960#p55960</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55960#p55960"/>
		<title type="html"><![CDATA[storing lines/ log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55960#p55960"><![CDATA[
logging flag <strong class="text-strong">+p</strong> will cause saving of all public chat in the logfile, check eggdrop.conf<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Sep 21, 2005 12:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[brood]]></name></author>
		<updated>2005-09-21T10:27:44-04:00</updated>

		<published>2005-09-21T10:27:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55956#p55956</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55956#p55956"/>
		<title type="html"><![CDATA[storing lines/ log]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55956#p55956"><![CDATA[
Is it possible to make a script that stores everything in the channel I want, to a DB? Like sort of log.<br><br>For example: I want to store all lines that follow up after the nick: brood<br><br>If I say:<br>&lt;brood&gt; blablablablabla<br><br>It stores blablablablabla to a DB.<br><br><br>Then if i want to check if it's said I can do a command like !brood *bla* and it shows all lines that are said with word bla in it.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6675">brood</a> — Wed Sep 21, 2005 10:27 am</p><hr />
]]></content>
	</entry>
	</feed>
