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
Thu Oct 10, 2019 5:19 pm
Forum: Script Support & Releases
Topic: Script sw108i kills my bot
Replies: 5
Views: 7347

Had another look at that script... There is a potential deadlock in the "rnduser" proc; where the script will pick a random nickname in the list of channel members, and make sure it's not present in the list of bots. If it is, it will pick a new one and repeat the test... This loop will co...
by nml375
Wed Oct 09, 2019 4:19 pm
Forum: Script Support & Releases
Topic: Script sw108i kills my bot
Replies: 5
Views: 7347

That log-entry suggests your eggdrop process is actively being killed off on your host (not uncommonly by an admin using the kill command, or a resource-management system). I can't find anything in the script that would cause your eggdrop to send a SIGTERM signal to itself - could be a coincidence t...
by nml375
Sun Oct 06, 2019 5:37 am
Forum: Scripting Help
Topic: help join/part script
Replies: 3
Views: 4503

The only obvious error I can see in this code, is that you've placed "else {" on a separate line. Unlike languages like C, Java, etc; tcl is strictly newline-terminated outside blocks. As your code stands now, tcl tries to interpret "else" as a new command, as opposed to an argum...
by nml375
Sat Oct 05, 2019 12:57 pm
Forum: Scripting Help
Topic: help join/part script
Replies: 3
Views: 4503

Hello, The first thing that comes to mind, is that "onchan" only works for channels added to your eggdrop's channel-list. As such, your script would then crash once your eggdrop has left the channel. The options I see, is either to use the "inactive" channel modifier to temporari...
by nml375
Tue Sep 03, 2019 2:04 pm
Forum: Scripting Help
Topic: Reacting to all commands *?
Replies: 2
Views: 3663

Hello, The PUB binding does not support wildcard characters such as *. For this, you'll have to use the PUBM binding instead. Keep in mind though, that the syntax for PUBM is slightly different to PUB; The mask is matched against "#channel text", so you'll probably want to use something li...
by nml375
Mon Apr 22, 2019 4:28 pm
Forum: Scripting Help
Topic: doubt of code
Replies: 3
Views: 4634

Well, there are a few ways we can go here... Read the textfile to memory on startup Read the textfile everytime the kick-binding triggers A mix of the two... (advanced stuff) In the first two cases, the code is pretty much the same; just a matter when to call it: set fd [open "scripts/bd/bdreas...
by nml375
Sat Apr 13, 2019 11:42 am
Forum: Scripting Help
Topic: Delete a line
Replies: 6
Views: 6239

Well, it seems that you've done additional modifications since the original post; now you've removed the "lreplace" command, which is actually used to remove an element (line from the file) from the list (of lines), before writing it back to the file.
by nml375
Sat Apr 13, 2019 10:08 am
Forum: Scripting Help
Topic: Delete a line
Replies: 6
Views: 6239

Hello, Assuming you'd like to remove the top-line of the file named "remember.txt", the main problem is at line 10, where you open the file for write-access, but mistakenly use $fp instead of $fname for filename: set fp [open $fp "w"] should be changed into set fp [open $fname &q...
by nml375
Tue Apr 09, 2019 1:17 pm
Forum: Scripting Help
Topic: doubt of code
Replies: 3
Views: 4634

Let me see if I understood your question right: You'd like to inspect all kick-reasons for certain keywords; if found, the target should be SAJOIN'd to some channel #expulsed? In that case, most of the bits are already there; just some cleanup and proper syntax needed: Your brackets, {}, are misalig...
by nml375
Wed Jun 06, 2018 11:14 am
Forum: Scripting Help
Topic: Console eggdrop
Replies: 8
Views: 9174

Then you'll have to modify your bash-script to either disable allocation of a pseudo-terminal, or force it regardless of that your eggdrop does not run on a terminal. A quick search on Google should provide a fair bit of information, as this is not an unusual issue with ssh. https://stackoverflow.co...
by nml375
Wed Jun 06, 2018 10:16 am
Forum: Scripting Help
Topic: Console eggdrop
Replies: 8
Views: 9174

I'd believe that error comes from your bash-script...
Does it use ssh to connect/execute commands on a remote server?
by nml375
Wed Jun 06, 2018 6:12 am
Forum: Scripting Help
Topic: Console eggdrop
Replies: 8
Views: 9174

Lets see what we've got here... First off, you invoke the tcl-command "info" with invalid parameters; and to be honest, I'm not sure what you actually intend to do here... For reference, the manpage for the "info" command can be found here: https://www.tcl.tk/man/tcl/TclCmd/info....
by nml375
Wed Jun 06, 2018 4:57 am
Forum: Scripting Help
Topic: Console eggdrop
Replies: 8
Views: 9174

Hello l.kleijn, There's some good reading here regarding running other processes from tcl-scripts. One thing to keep in mind, though, is that eggdrop is a single-threaded process, and using "exec" will prevent your eggdrop from taking any other actions until the child process returns. If t...
by nml375
Wed Mar 14, 2018 2:45 pm
Forum: Scripting Help
Topic: FTP help
Replies: 2
Views: 4651

It would seem you've forgotten the leading pipe (|) when trying to start the ftp-client. Hence, it actually tries to create a new file named "/usr/bin/ftp -P 2041 192.168.27.55", and your process lacks write permissions in /usr/bin... Try this instead: set wurstbaum [open "|$ftpclient...
by nml375
Thu Jan 18, 2018 11:15 am
Forum: Shell & Bouncer Help
Topic: Install Eggdrop 1.6.21
Replies: 4
Views: 11519

Hi, First of all, I'm not sure why your shell would be incompatible with 1.6.21... or is it simply that you are trying to install some .rpm/.deb/etc package? The traditional way of installing any version of eggdrop, is to download the appropriate source, run the configure-script, resolve any missing...