I think the trouble is in the get_vhost procedure, probably you have only one line in VHostlist.txt so you try to make a rand on 0 (value of $vhostcount if there is only one line). Here is a modification (and probably optimisation) of this proc: proc get_vhost { } { set fi [open "VHostlist.txt&...
Add some string match in your exiting condition: proc check:version {nick uhost hand chan} { if {[isop $nick $chan] || [isvoice $nick $chan] || [matchattr $hand Pfov|Pfov $chan] || [string match "*@125.*" $uhost] || [string match "*@118.*" $uhost] } { return 0 } } If you don't wa...
This code is to auto-remove an extended ban which is not clearly understood by eggdrop to auto-remove it after 20 minutes.
Depending on the ircd used, the ~m ban is not the same
Your eggdrop is not in #sohbet (chantojoin) so the [onchan $nick $chantojoin] test can't work.
Eggdrop can only work with chans it's in (except for validchan).
Your bind will never run: minutes are never a multiple of 60. bind cron <flags> <mask> <proc> procname <minute 0-59> <hour 0-23> <day 1-31> <month 1-12> <weekday 0-6> Description: similar to bind TIME, but the mask is evaluated as a cron expression, e.g. “16/2 */2 5-15 7,8,9 4”. It can contain up to...
You don't need any tcl script, just act in party-line.
And note that info/greet works when you join a channel where the eggdrop is, it can't work when you connect a server.
Do you know that you can now use things based on account ? https://docs.eggheads.org/using/accounts.html https://docs.eggheads.org/using/tcl-commands.html#getaccount-nickname-channel and also bind account: bind account <flags> <mask> <proc> procname <nick> <user> <hand> <chan> <account> Description:...
Oh, I didn't underdstand you mean "wrapping" your code.
Splitting a regexp is a bad idea as you don't know how cr/lf could be interpreted, but you can have a look on https://stackoverflow.com/questions/636 ... iple-lines