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

by nml375
Mon May 30, 2016 1:36 pm
Forum: Eggdrop Help
Topic: How do I rehash eggdrop from the console?
Replies: 4
Views: 10730

I assume you started your eggdrop using the -nt option.
If so, you are currently logged on as a virtual user with no permissions ("HQ"). You could, however, still use the .su command to switch to your owner/master account instead, and then issue the .rehash-command
by nml375
Sun May 08, 2016 8:13 am
Forum: Scripting Help
Topic: [SOLVED] Bot can saved TXT with UTF-8 encoding?
Replies: 3
Views: 6318

You could use the fconfigure command to set the desired encoding of the channelId (in this case, the opened file). Try something like this: set liveme [encoding convertfrom utf-8 "[lrange $cursong 1 [llength $cursong]]"] set temp [open "livesong.txt" w+] fconfigure $temp -encodin...
by nml375
Thu Apr 21, 2016 2:44 pm
Forum: Scripting Help
Topic: Bind on click
Replies: 1
Views: 4165

Hi, Bindings can only trigger on messages/events sent to your eggdrop. There is no way for your eggdrop to know whether a user clicks on a link or anything like that. I suppose someone could write a script for some irc clients, that would send "!nfo" to your eggdrop (thus triggering the bi...
by nml375
Sat Jan 09, 2016 9:16 am
Forum: Scripting Help
Topic: lsort help
Replies: 2
Views: 4856

A quick read-through of the code suggests there are some flaws in the get:banned proc, mainly related to how lists are handled... Depending on how you'd like the output, you might try replacing the following line: set lines1 [split $line_sort "\n"] into set lines1 [join $line_sort ", ...
by nml375
Thu Apr 09, 2015 4:47 pm
Forum: Scripting Help
Topic: Call and take values from another proc
Replies: 5
Views: 8033

Hi again,
Just letting you know I haven't forgotten about this thread, just been rather occupied. I'll see if I can't craft something for you to build on, in the next few days or so.
by nml375
Mon Apr 06, 2015 4:50 pm
Forum: Scripting Help
Topic: Call and take values from another proc
Replies: 5
Views: 8033

Hi willyw, Regarding "queueing", the exact implementation would probably depend on the needs of the given application(s). A slight example, though: Build a list called rawQueue , where each item is a pair (list) of nickname and "action-proc". Once the "gotraw" proc trig...
by nml375
Mon Apr 06, 2015 12:01 pm
Forum: Scripting Help
Topic: Call and take values from another proc
Replies: 5
Views: 8033

Hi, First of all, you'll have to change your approach to an asynchronous one. You cannot have add_fan wait for a server response - instead you would have to make sure the check for a registered nick had already been done when add_fan is called. What you'd really want to do, is have the !fieladd comm...
by nml375
Tue Mar 17, 2015 4:45 pm
Forum: Eggdrop Help
Topic: [SOLVED] ./eggdrop ERROR 1 & modegg ERROR 2
Replies: 4
Views: 11516

Read your post a second time, and I see you mention libtcl x 8.4.so. That should be libtcl8.4.so. libtclx8.4.so is an extension to tcl, but you'd still need the standard tcl libraries. The most likely cause for your error, is that you either lack the tcl libraries (or failed to install the *-dev pac...
by nml375
Tue Mar 17, 2015 4:29 pm
Forum: Eggdrop Help
Topic: [SOLVED] ./eggdrop ERROR 1 & modegg ERROR 2
Replies: 4
Views: 11516

In most cases, the few lines above what you posted, would actually give the reason for the linker error.
by nml375
Mon Jan 05, 2015 5:41 pm
Forum: Scripting Help
Topic: chaninvites/isinvite
Replies: 2
Views: 4654

Hello, The invite-list (chaninvites and isinvite) refers to the list of invite-lines (similar to ban-lines), which are set using the mode-command (/mode #channel +I Nick!User@Host). It has nothing to do with whether any user (or bot, for that matter) has issued a specific /invite command for a certa...
by nml375
Fri Oct 31, 2014 1:58 pm
Forum: Eggdrop Help
Topic: compress error
Replies: 1
Views: 5112

Most likely you did not select or build the compress module, during the build process. Either rebuild your eggdrop with the comress module enabled, or don't activate it in your config file (put a # in front of "loadmodule compress")
by nml375
Thu Jul 31, 2014 2:07 pm
Forum: Scripting Help
Topic: Adding info into a database via tcl
Replies: 2
Views: 4273

This seems obviously related to your other thread. What you need to understand, is that the regular expression (pattern) I tailored in that thread, was specific to the format of the data - as posted in that thread. Here you have a different format, and thus need a different pattern. From what I can ...
by nml375
Wed Jul 30, 2014 2:08 pm
Forum: Modules & Programming
Topic: TCL MySQL Select querstion
Replies: 1
Views: 10661

There are a few issues with the script. First off, your proc "myproc" expects a channel-name as an argument, yet you never provide one when calling it. Secondly, the mysqlquery command returns a "query handle", which can be then used to retrieve the actual data from the database....
by nml375
Tue Jul 29, 2014 12:40 pm
Forum: Scripting Help
Topic: Running a proc using bind time
Replies: 13
Views: 11036

Actually, this does trigger on Sundays at 0:00 hour. To be more specific, it would be at midnight when Saturday turns to Sunday.

To have it trigger on the start of the new week, you'd need to match against Monday:

Code: Select all

bind cron - "0 0 * * 1" a_test_proc
by nml375
Fri Jul 25, 2014 1:17 pm
Forum: Scripting Help
Topic: Running a proc using bind time
Replies: 13
Views: 11036

Which version of eggdrop are you using? Might add, that the cron binding is only available in 1.6.20 onwards.. If you've got an older eggdrop, you could use something along these lines as a workaround: bind time - "00 00 *" someproc proc someproc {min hour day month year} { if {[clock form...