[mIRCStats parser configuration file] // File information (these lines are shown in mIRCStats) [File Description] Eggdrop (CHECK NOTES FROM FILE!) [Author] Ave // ===== NOTES to EGGDROP PARSER ==== // // Current version of mIRCStats needs some date information in the log // until it can start analyzing the contents. In eggdrop-formatted logs // the date information is only on the LAST line, that causes mIRCStats // not to be able to parse any contents. // // In order to parse files, you need to move the last line from the log // to the beginning of the log. The line looks like this: // [00:00] --- Fri Jun 14 2002 // Another thing: Current version of mIRCStats parses the channelname // from a dedicated "Channelname" line like: * Now talking in #chan // In eggdrop format there's no such line. This causes mIRCStats to use // Log filename as channelname. You might add this line also to the // beginning of the file. // So, add these two lines to the beginning of the file (remove comment chars:) // // [00:00] --- Fri Jun 14 2002 // * Now talking in #mychannel // // ================================== // Allowed variables are: // // Single-word variables: // %nick%, %nick2%, %addr%, %channelname%, %monthname%, %ampm%, %anyword% // // Numeric variables: // %hour%, %minute%, %second%, // %day%, %month%, %year%, %anynum% // // Multi-word variables (only one allowed per line): // %text%, %mode%, %anytext% // Main rules: // - Variables have to be delimited by some non-variable characters like [%hour%:%minute%] // (unless they are fixed length ones like %2hour% (2-digit numeric hour). // - You can only use one multi-word variable per line. // - Don't use the same variable multiple times on any line. // - Use "Test Parser" option to verify your new parsing rules ("Log parser"-settings page). // - Check mIRCStats help for more info ("Setting options/Log parser") // ----------------Parser configuration rules start here------------------------------- // timestamp parsing rules: [timestamp] [%2hour%:%2minute%] // Parsing patterns in order of probability: [Normal line] <%nick%> %text% [Action] Action: %nick% %text% [Mode change] %anyword%: mode change '%mode% %text%' by %nick%!%anyword% [Join] %nick% (%addr%) joined %channelname%. [Part] %nick% (%addr%) left %channelname%. %nick% (%addr%) left %channelname% (%text%). [Quit] %nick% (%addr%) left irc: %text% [Session Start] [Session Close] [Session Time] --- %anyword% %monthname% %day% %year% --- %anyword% %monthname% %day% %year% [Own normal line] > %text% [Channelname] * Now talking in %channelname% [Rename] Nick change: %nick% -> %nick2% [Topic change] * %nick% changes topic to '%text%' *** %nick% changes topic to '%text%' [Kick] %nick% kicked from %channelname% by %nick2%: %text% [Skip] // skip these lines that conflict with other parsing rules // If you use %monthname% in your parser configuration // you need to define 12 month strings that are converted // into a month number here [Month names] Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec