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

	<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-08-27T08:11:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Skipper]]></name></author>
		<updated>2005-08-27T08:11:42-04:00</updated>

		<published>2005-08-27T08:11:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54901#p54901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54901#p54901"/>
		<title type="html"><![CDATA[Recording kicks and bans.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54901#p54901"><![CDATA[
Hello, <br><br>Can someone help me to complete this tcl? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><br>Rgds<br><br>Skipper<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6623">Skipper</a> — Sat Aug 27, 2005 8:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-26T13:42:45-04:00</updated>

		<published>2005-08-26T13:42:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54872#p54872</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54872#p54872"/>
		<title type="html"><![CDATA[Recording kicks and bans.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54872#p54872"><![CDATA[
maintaining a separate logfile for kickbans only is absolutely pointless, eggdrop already logs those for you, simply search through the bot's logfile(s)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Aug 26, 2005 1:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Skipper]]></name></author>
		<updated>2005-08-26T10:10:01-04:00</updated>

		<published>2005-08-26T10:10:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54863#p54863</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54863#p54863"/>
		<title type="html"><![CDATA[Recording kicks and bans.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54863#p54863"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set logging dir "~/eggdrop/logs"set logchan "#test"logging bindsbind kick - *      log:kickbind mode - "* +b" log:modeproc log:kick {nick host hand chan targ text} {  global logdir  if {![channel get $logchan kick]} {return 0}  set logstr "\[[strftime %H:%M]\] *** $targ was kicked by $nick ($text)"  set addlog [open $logdir/[string range [string tolower $chan] 1 end].log a]  puts $addlog "$logstr"  close $addlog}proc log:mode {nick uhost hand chan chag vict} {global logdirif {![channel get $logchan mode]} {return 0}set logstr "\[[strftime %H:%M]\] *** $nick sets mode: $chag $vict"set addlog [open $logdir/[string range [string tolower $chan] 1 end].log a]puts $addlog "$logstr"close $addlog}</code></pre></div>I used logchan coz.. i dont want to log all the channels.. thats why used for specific channels.<br>Is it correct? And if its correct .. let me know how to find the bans from the file.. when i type !banfind nick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6623">Skipper</a> — Fri Aug 26, 2005 10:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-26T08:01:13-04:00</updated>

		<published>2005-08-26T08:01:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54855#p54855</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54855#p54855"/>
		<title type="html"><![CDATA[Recording kicks and bans.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54855#p54855"><![CDATA[
Try it and see.<br><br>PS: use code tags and use<div class="codebox"><p>Code: </p><pre><code>if {![channel get $chan kick]} {return 0}</code></pre></div>instead of lsearching it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Aug 26, 2005 8:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Skipper]]></name></author>
		<updated>2005-08-26T07:46:47-04:00</updated>

		<published>2005-08-26T07:46:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54854#p54854</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54854#p54854"/>
		<title type="html"><![CDATA[Recording kicks and bans.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54854#p54854"><![CDATA[
set logging dir "~/eggdrop/logs"<br>setudef flag kick<br>logging binds<br><br>bind kick - * log:kick<br><br>proc log:kick {nick host hand chan targ text} {<br>  global logdir<br>  if {[lsearch -exact [channel info $chan] +kick] == -1} {return 0}<br>  set logstr "\[[strftime %H:%M]\] *** $targ was kicked by $nick ($text)"<br>  set addlog [open $logdir/[string range [string tolower $chan] 1 end].log a]<br>  puts $addlog "$logstr"<br>  close $addlog<br>}<br><br><br><br>Will This Help? or am i wrong here?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6623">Skipper</a> — Fri Aug 26, 2005 7:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Skipper]]></name></author>
		<updated>2005-08-26T07:22:51-04:00</updated>

		<published>2005-08-26T07:22:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54853#p54853</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54853#p54853"/>
		<title type="html"><![CDATA[Recording kicks and bans.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54853#p54853"><![CDATA[
Hello Ppl, <br><br>Is it possible to record the kicks and bans to a file.. and getting the infos via IRC.. when we type !banfind .. where the bot will gives info in the channel.. abt who kicked/banned the user and for what reason. <br><br>Rgds<br><br>Skipper<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6623">Skipper</a> — Fri Aug 26, 2005 7:22 am</p><hr />
]]></content>
	</entry>
	</feed>
