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

by geek
Thu Apr 22, 2021 4:43 pm
Forum: Script Requests
Topic: very little modification
Replies: 2
Views: 1901

very little modification

hi, I need to mod sentinel.tcl detection of LINE/TEXT flood, to exempt users with "f" flag script already don't ban f flag users, but I would like their lines are excluded from count of lines/text script is here I think to modify proc sl_avflood line 233 of pastebin from if {![onchan $nick...
by geek
Fri Mar 05, 2021 4:14 pm
Forum: Eggdrop Help
Topic: How do you install the tcl.tar.gz?
Replies: 9
Views: 7483

this is a compressed archive file


to extract use:
tar xzvf tcl.tar.gz
by geek
Fri Feb 12, 2021 1:35 pm
Forum: Script Requests
Topic: how does this tcl work?
Replies: 2
Views: 2095

CrazyCat wrote:The goal seems to be to make the karma going to 0 when it has not been modified for a time. Lesser (positive or negative) is your karma and slower it will decrease (tend to 0)
now I understand

thanks man!
by geek
Thu Feb 11, 2021 4:48 am
Forum: Script Requests
Topic: how does this tcl work?
Replies: 2
Views: 2095

how does this tcl work?

I try this tcl:
https://github.com/starlilyth/IRC-Eggdr ... rma4.4.tcl

It works good

but I looking at the code and I don't understand what is the needed of modtime column in the db and the use of xtime, ytime, yytime, etc in proc karmaupdate


what are they for?
by geek
Sat Jan 02, 2021 6:12 am
Forum: Scripting Help
Topic: raw binding
Replies: 12
Views: 5733

to avoid the "lag" problem, I put the rest of the code in ldm:whoraw instead of ldm:who but now when bot enter in a new channel, I think eggdrop performs a global "WHO #channel" command and so it runs my procedure that catch raw 352 too :) How can solve this problem? with utimer ...
by geek
Fri Jan 01, 2021 11:36 am
Forum: Scripting Help
Topic: strange behavior from llength
Replies: 2
Views: 2363

perfect SpiKe^^

very thanks :)
by geek
Fri Jan 01, 2021 10:02 am
Forum: Scripting Help
Topic: strange behavior from llength
Replies: 2
Views: 2363

strange behavior from llength

I have this very simple piece of code: proc ldmtest {nick host hand chan arg} { # # nel RFC 2812 sezione 2.3.1 vengono specificati i caratteri ammessi nel nickname # # oltre a lettere e numeri sono permessi i seguenti: [ ] \ ` _ ^ { | } - # set RE {[^a-zA-Z0-9\s\[\]\\`_\^\{\|\}-]} if { [regexp -all ...
by geek
Wed Dec 30, 2020 9:33 am
Forum: Script Support & Releases
Topic: netbots
Replies: 8
Views: 5086

ok, very thanks :)
by geek
Mon Dec 28, 2020 1:10 pm
Forum: Script Support & Releases
Topic: netbots
Replies: 8
Views: 5086

thanks CrazyCat

complete netbots.tcl v4.10 of 8/8/2005 from slennox

but yes, I try it in my bots and they seem to work still good

my only doubt is about ipv6...
by geek
Mon Dec 28, 2020 6:40 am
Forum: Script Support & Releases
Topic: netbots
Replies: 8
Views: 5086

netbots

I find that netbots are still the best well written tcl.. but last release was for egg1.6

are netbots still working in new eggdrops 1.8.4?

or are there some compatibility errors and security issue?
by geek
Sun Dec 27, 2020 2:56 pm
Forum: Scripting Help
Topic: raw binding
Replies: 12
Views: 5733

yes tnx, global var ::ldmident works BUT there is a kind of "lag" between the WHO command and the availability of the value compute in ldm:whoraw SO the first execution I get "no such variable", the following I get a result but is "the old" ident, lol THIS OCCURS: (fres...
by geek
Sun Dec 27, 2020 12:27 pm
Forum: Scripting Help
Topic: raw binding
Replies: 12
Views: 5733

1. ident is too generic, better to use something like ldmident yes :) 2. your variable is set with the answer of the /who command, but the /who is initiated by your ldm:who proc. So you can't already have this value. you mean in ldm:who: example1) puthelp "PRIVMSG #test :$::ldmident" puts...
by geek
Sun Dec 27, 2020 11:38 am
Forum: Scripting Help
Topic: raw binding
Replies: 12
Views: 5733

and if I want pass a variable from ldm:whoraw to ldm:who ?

something like:

Code: Select all

proc ldm:whoraw {from key text} {

   set ident [lindex $text 2]

   return
}
and in ldm:who

Code: Select all

puthelp "PRIVMSG #test :$ident"

I get always Tcl error: can't read "ident": no such variable
by geek
Sun Dec 27, 2020 7:35 am
Forum: Scripting Help
Topic: raw binding
Replies: 12
Views: 5733

CrazyCat wrote: You can have multiple scripts using the same raw number without any trouble.
thanks :)
CrazyCat wrote:This is a quite good idea to use utimer to unbind, but you can have side effects.
what kind of side effects?
by geek
Sun Dec 27, 2020 6:05 am
Forum: Scripting Help
Topic: raw binding
Replies: 12
Views: 5733

The ldm:whoraw will catch any who response sent to the eggdrop. and if are there more than one scripts that catch the same raw number? is it a problem? very tnx CrazyCat It is what I usually do. ... The idea is to create the bind that you will need. Then, a few seconds later, unbind it. yes, I'll u...