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

	<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>2011-01-11T08:28:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[while]]></name></author>
		<updated>2011-01-11T08:28:11-04:00</updated>

		<published>2011-01-11T08:28:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95625#p95625</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95625#p95625"/>
		<title type="html"><![CDATA[Converting mIRC logs into Eggdrop logformat.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95625#p95625"><![CDATA[
the one that worked best for me and no errors with pisg is this <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=563" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=563</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10748">while</a> — Tue Jan 11, 2011 8:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2011-01-07T16:24:10-04:00</updated>

		<published>2011-01-07T16:24:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95575#p95575</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95575#p95575"/>
		<title type="html"><![CDATA[Converting mIRC logs into Eggdrop logformat.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95575#p95575"><![CDATA[
So it's possible just to use the mIRC logs and then continue with mIRC logs with eggdrop?<br><br>Not sure if this helps, but here's the hacked up script I use:<div class="codebox"><p>Code: </p><pre><code>#########################################################        Eggdrop Logger 2.0 - www.mircstats.com        ##        Logging in mIRC 6.17 format. 27/04/2006       ##                                                      ##   Make sure you have created the dir 'logger(dir)'   ##                                                      ##         Created by Lanze &lt;simon@freeworld.dk&gt;        ##         Improved by zowtar &lt;zowtar@gmail.com&gt;        ##         Improved by Trixar_za &lt;trixarian@gmail.com&gt;  ##                                                      #########################################################setudef flag slog# Only logs in channels with .chanset #chan +slog now### Configuration#;;; Where the logs will be saved.set logger(dir) "logs/"#;;; Strip codes?#;;; 0 = save codes\colors#;;; 1 = no save codes\colorsset logger(strip) "1"#;;; Save by Day, Week, Month or Disable?set logger(time) "WEEK"# # # # # # # # # # # # # # # #   DO NOT CHANGE ANYTHING BELOW HERE   # # # # # # # # # # # # # # # #### Eventsbind join - "#* *!*@*" logger:joinbind part - "#* *!*@*" logger:partbind sign - "#* *!*@*" logger:quitbind pubm - "#* *" logger:textbind nick - "#* *" logger:nickbind kick - "#* *" logger:kickbind mode - "#* *" logger:modebind topc - "#* *" logger:topicbind raw - "333" logger:topic-authorbind ctcp - "ACTION" logger:action### Primary Commandsproc logger:join {nick uhost handle chan} {  if {![channel get $chan slog]} {    return 0  }  global logger botnick  set chan [string tolower $chan]  if {$nick == $botnick} {    set log "[open "$logger(dir)$chan.log" a]"    puts $log "\r"    puts $log "Session Start: [strftime "%a %b %d %T %Y"]\r"    puts $log "Session Ident: $chan\r"    puts $log "\[[strftime "%H:%M"]\] * Now talking in $chan\r"    close $log  } else {    logger:save [string tolower $chan] "* $nick ($uhost) has joined $chan"  }}proc logger:part {nick uhost handle chan msg} {  if {![channel get $chan slog]} {    return 0  }  if {$msg == ""} {    logger:save [string tolower $chan] "* $nick ($uhost) has left $chan"  } else {    logger:save [string tolower $chan] "* $nick ($uhost) has left $chan ($msg)"  }}proc logger:quit {nick uhost handle chan reason} {  if {![channel get $chan slog]} {    return 0  }  logger:save [string tolower $chan] "* $nick ($uhost) Quit ($reason)"}proc logger:text {nick uhost handle chan text} {  if {![channel get $chan slog]} {    return 0  }  logger:save [string tolower $chan] "&lt;$nick&gt; $text"}proc logger:nick {nick uhost handle chan newnick} {  if {![channel get $chan slog]} {    return 0  }  logger:save [string tolower $chan] "* $nick is now known as $newnick"}proc logger:kick {nick uhost handle chan target reason} {  if {![channel get $chan slog]} {    return 0  }  logger:save [string tolower $chan] "* $target was kicked by $nick ($reason)"}proc logger:mode {nick uhost handle chan mode victim} {  if {![channel get $chan slog]} {    return 0  }  logger:save [string tolower $chan] "* $nick sets mode: $mode $victim"}proc logger:topic {nick uhost handle chan topic} {  if {![channel get $chan slog]} {    return 0  }  if {$nick == "*"} {    logger:save [string tolower $chan] "* Topic is '$topic'"  } else {    logger:save [string tolower $chan] "* $nick changes topic to '$topic'"  }}proc logger:topic-author {from keyword text} {  logger:save [lindex $text 1] "* Set by [lindex $text 2] on [strftime "%a %b %d %T" [lindex $text 3]]"}proc logger:action {nick uhost handle dest keyword text} {  if {![channel get $dest slog]} {    return 0  }  if {[validchan $dest] == "1"} {    logger:save $dest "* $nick $text"  }}### Secondary Commandsproc logger:save {chan text} {  if {![channel get $chan slog]} {    return 0  }  global logger  set chan [string tolower $chan]  set log "[open "$logger(dir)$chan.log" a]"  puts $log "\[[strftime "%H:%M"]\] [logger:strip $text]\r"  close $log}### Tertiary Commandsproc logger:strip {text} {  global logger numversion  if {$logger(strip) == "1"} {    if {$numversion &gt;= "1061700"} {      set text "[stripcodes bcruag $text]"    } else {      regsub -all -- {\002,\003([0-9][0-9]?(,[0-9][0-9]?)?)?,\017,\026,\037} $text "" text    }  }  return $text}### timeproc logger:time {} {  global logger  foreach bind [binds time] {    if {[string match "time * logger:time-save" $bind] == "1"} {      unbind time - "[lindex $bind 2]" logger:time-save    }  }  switch $logger(time) {    DAY {      bind time - "00 00 [strftime "%d" [expr [unixtime] + 86400]] * *" logger:time-save    }    WEEK {      bind time - "00 00 [strftime "%d" [expr [unixtime] + ((7 - [strftime "%w"]) * 86400)]] * *" logger:time-save    }    MONTH {      bind time - "00 00 01 [strftime "%m" [expr [unixtime] + ((31 - [strftime "%d"]) * 86400)]] *" logger:time-save    }  }}proc logger:time-save {minute hour day month year} {  global logger  foreach channel [channels] {    set channel [string tolower $channel]    if {[channel get $channel slog]} {      if {[file exists "$logger(dir)$channel.log"] == "1"} {        file delete -force "$logger(dir)$channel.log"      }      set log "[open "$logger(dir)$channel.log" w]"      puts $log "\r"      puts $log "Session Start: [strftime "%a %b %d %T %Y"]\r"      puts $log "Session Ident: $channel\r"      puts $log "\[[strftime "%H:%M"]\] * Now talking in $channel\r"      close $log      putquick "TOPIC $channel"    }  }  logger:time}logger:timeputlog "TCL Logger.tcl Loaded!"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Fri Jan 07, 2011 4:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Daleth]]></name></author>
		<updated>2011-01-07T16:08:47-04:00</updated>

		<published>2011-01-07T16:08:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95574#p95574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95574#p95574"/>
		<title type="html"><![CDATA[Converting mIRC logs into Eggdrop logformat.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95574#p95574"><![CDATA[
Reason for me doing it, its because I lost my eggdrop old logs on my server, and Ive got a mIRC channellog with approx 100 days which I would like to use for PISG but Im running PISG with eggdrop on a linux server.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11483">Daleth</a> — Fri Jan 07, 2011 4:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Trixar_za]]></name></author>
		<updated>2011-01-07T16:04:06-04:00</updated>

		<published>2011-01-07T16:04:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95573#p95573</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95573#p95573"/>
		<title type="html"><![CDATA[Converting mIRC logs into Eggdrop logformat.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95573#p95573"><![CDATA[
The question is why do you want to do this though. I admit that I use a script to rather make the bot output mIRC like logs (with a very ugly hacked up script...) so I can use it with pisg myself.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10958">Trixar_za</a> — Fri Jan 07, 2011 4:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Daleth]]></name></author>
		<updated>2011-01-07T10:51:16-04:00</updated>

		<published>2011-01-07T10:51:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95568#p95568</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95568#p95568"/>
		<title type="html"><![CDATA[Converting mIRC logs into Eggdrop logformat.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95568#p95568"><![CDATA[
Ive tried to convert mIRC logs into Eggdrop without any special success. Ive browsed the forum and found a person using mirc2egg.sed which is included in pisg, so I used it but it will only convert <br>Session Start: Sat Oct 09 07:57:31 2010<br>into <br>[07:58] --- Sat Oct 09 2010<br><br>This leaves out everything else like chat, mirc2egg.sed seems to be quite outdated but not sure if this makes any difference. Is there any other way to convert mIRC logs into Eggdrop? <br><br>Cheers!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11483">Daleth</a> — Fri Jan 07, 2011 10:51 am</p><hr />
]]></content>
	</entry>
	</feed>
