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 9 matches

by cimeran
Mon Oct 31, 2011 9:18 am
Forum: Eggdrop Help
Topic: Any way to flush log messages to disk right away?
Replies: 1
Views: 2508

Any way to flush log messages to disk right away?

Hi. Looking at the source and I'm trying to find a way to have all log messages flushed to disk immediately. Is there a flag of some sort to control this behaviour?

Thanks.
by cimeran
Thu Oct 27, 2011 10:29 am
Forum: Eggdrop Help
Topic: Log files do not contain color codes
Replies: 1
Views: 4383

Log files do not contain color codes

Have the following line in my eggdrop.conf:

logfile +p #mychan "logs/mychan.log"

But it isn't logging any of the color code information in the messages. Am I missing something? Thanks!

Cimeran
by cimeran
Fri Mar 11, 2011 9:31 pm
Forum: Scripting Help
Topic: One "join" triggers proc twice..
Replies: 1
Views: 2493

One "join" triggers proc twice..

Howdy folks. Really new to tcl and eggdrop and struggling a bit. I have a bind join like so: bind join - * [namespace current]::join_proc In my join_proc I do this: putlog "Recieved $user $handle $chan" Upon doing a /part followed by a /join in my irc client, I get two lines in the log. An...
by cimeran
Thu Mar 10, 2011 11:17 pm
Forum: Scripting Help
Topic: Outputting color codes in a dictionary type script
Replies: 2
Views: 3059

Thanks for the information. I've solved the problem, but as I get more comfy in tcl I'll try to address the issues you mention. There is no substitution done on the entered text, neither is there of the contents of $msg in that line of code you posted. Thus, \002 will be printed literally, and not t...
by cimeran
Thu Mar 10, 2011 5:50 pm
Forum: Scripting Help
Topic: Outputting color codes in a dictionary type script
Replies: 2
Views: 3059

Outputting color codes in a dictionary type script

Please note: I fixed this error by stripping curly braces from the definitions before they were output by the bot.... Howdy all. I'm using this http://www.egghelp.org/tclhtml/3478-4-0-0-1-eggdb.htm script to do simple getting/setting of messages. Trying like the dickens to set a message to use some...
by cimeran
Wed Mar 09, 2011 3:23 pm
Forum: Scripting Help
Topic: Run function every X seconds?
Replies: 6
Views: 4547

I'm using the rss-synd script on the tcl script archive. It caches the last instance of the file and only posts the new items. Search for it and I'm sure you'll find it. As for the other question, it's a news feed that needs to be close to instantaneous. We own the server so no possibility of gettin...
by cimeran
Sat Mar 05, 2011 3:57 am
Forum: Scripting Help
Topic: Run function every X seconds?
Replies: 6
Views: 4547

Re: Run function every X seconds?

caesar wrote:How often is that RSS feed being updated?
A few times a minute. The big thing is that we have to get from the rss feed to the room as quickly as we can. The utimer is set to 10 seconds right now and it seems to be running okay.
by cimeran
Sat Mar 05, 2011 12:12 am
Forum: Scripting Help
Topic: Run function every X seconds?
Replies: 6
Views: 4547

Re: Run function every X seconds?

Whoops, found what I needed. From the Eggdrop FAQ I changed... if {![info exists myproc_running]} { timer 20 myproc set myproc_running 1 } proc myproc {} { # your stuff here ... # ... timer 20 myproc return 1 } ...to use "utimer" instead of timer.
by cimeran
Fri Mar 04, 2011 11:56 pm
Forum: Scripting Help
Topic: Run function every X seconds?
Replies: 6
Views: 4547

Run function every X seconds?

Hi folks. New to eggdrop and appreciate any help. Goal: to monitor an RSS feed and post new items as quickly as possible to a channel. Found an rss tcl script or two that does what I need, but I'd like to set it to run the required function every x seconds instead of every x minutes (bind time line)...