This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 61 matches

by kenh83
Tue Jan 31, 2012 1:14 am
Forum: Script Requests
Topic: Log Monitor
Replies: 13
Views: 8597

Never mind. I just load the script and have it do:

Code: Select all

proc evnt:init_server {type} {
        logMonitorOpenFile $::logMonitorFilename
}
Thanks again for all your help NML! :)
by kenh83
Mon Jan 30, 2012 9:17 pm
Forum: Script Requests
Topic: Log Monitor
Replies: 13
Views: 8597

Ok Nml. Thank you.

Whats the best way to make sure that this "log monitoring" starts as soon as the bot is started?


KenH83.
by kenh83
Sun Jan 29, 2012 8:43 pm
Forum: Script Requests
Topic: Log Monitor
Replies: 13
Views: 8597

nml, I changed the following line: puts stdout "Read line: $::tailBuffer($fileId)" to: putlog "Read line: $::tailBuffer($fileId)" from partyline on the bot i execute the following command: .tcl [openFile /path/to/filename.log] The actual log file i'm using is 100% real the user a...
by kenh83
Sun Jan 29, 2012 4:07 pm
Forum: Script Requests
Topic: Log Monitor
Replies: 13
Views: 8597

nml, whats the proper syntax to get this started.. and it stays running right?
by kenh83
Sat Jan 28, 2012 4:19 pm
Forum: Script Requests
Topic: Log Monitor
Replies: 13
Views: 8597

I guess what I'm getting at here, is I want to actively monitor a log file so that each time something new is wrote the tcl script catches it.. but doesn't care about previous entries.. and.. the log file must remain intact like a normal log file. Hopefully I'm not confusing you or asking too much, ...
by kenh83
Sat Jan 28, 2012 4:17 pm
Forum: Script Requests
Topic: Log Monitor
Replies: 13
Views: 8597

How can I safely start this and allow it to keep running so it actively checks the files.. without it interferring or 'locking' up the bot?
by kenh83
Sat Jan 28, 2012 11:19 am
Forum: Script Requests
Topic: Log Monitor
Replies: 13
Views: 8597

nml,

Yeah.. i'm looking for example on how to do it for a system log file.
by kenh83
Fri Jan 27, 2012 11:08 pm
Forum: Script Requests
Topic: Log Monitor
Replies: 13
Views: 8597

Log Monitor

I would love to have a script that I could use to parse log files "live". I'm not even sure where to really start with how to read a log file basically every second and have it return the new lines of text that are put into the log file. As far as parsing the text, I can handle that much.....
by kenh83
Wed Sep 28, 2011 9:53 pm
Forum: Script Support & Releases
Topic: iMDB by perpleXA
Replies: 79
Views: 99533

If I get some time I may actually re-work this script to get other information such as screening totals and various other things.

we'll see.
by kenh83
Wed Sep 28, 2011 9:49 pm
Forum: Script Support & Releases
Topic: iMDB by perpleXA
Replies: 79
Views: 99533

To fix rating: Change line 205 from: this: regexp -nocase -- {<span class="rating-rating"><span class="value">(.*?)</span>} $data -> rating; to this: regexp -nocase -- {<span itemprop="ratingValue">(.*?)</span>} $data -> rating; Enjoy.
by kenh83
Wed Sep 28, 2011 7:59 pm
Forum: Script Support & Releases
Topic: iMDB by perpleXA
Replies: 79
Views: 99533

|1ve, i don't run this script.. but imdb change the html on the voting information on their page.. without any testing it seems that in this script line 206 which is this: regexp -nocase -- {href="ratings".*?>(.*?) votes</a>\)} $data -> votes; should be changed to this: regexp -nocase -- {...
by kenh83
Sat Sep 03, 2011 11:15 pm
Forum: Script Support & Releases
Topic: TVRage.com Schedule Script (Latest: 2.0)
Replies: 506
Views: 511512

Thanks for the fixes GaveUp.
by kenh83
Sat Sep 03, 2011 11:14 pm
Forum: Script Support & Releases
Topic: TVRage.com Schedule Script (Latest: 2.0)
Replies: 506
Views: 511512

Arkadietz,

It's easy, he said to look thru this entire forum thread on what to do when you are using tcl8.4 -- it's not that complicated and it was talked about a lot.

go read.
by kenh83
Fri Sep 02, 2011 10:04 pm
Forum: Script Support & Releases
Topic: TVRage.com Schedule Script (Latest: 2.0)
Replies: 506
Views: 511512

GaveUp, Just got the latest GIT of the script and now I'm getting this all the time: !showinfo Dexter [09:59:25pm] <tvrage> {%%show_name%%} ({%%country%%} > {%%network%%} > {%%premiered%%} > {%%show_url%%}) [09:59:25pm] <tvrage> class > {%%classification%%} [09:59:25pm] <tvrage> genre > {%%genres%%}...
by kenh83
Wed Aug 24, 2011 8:03 pm
Forum: Script Support & Releases
Topic: TVRage.com Schedule Script (Latest: 2.0)
Replies: 506
Views: 511512

goalie, I think (Don't quote me) that it's because of timeouts when communicating with tvrage.com -- They've been having some problems lately.