Search found 1238 matches

by CrazyCat
Fri Apr 12, 2024 4:51 pm
Forum: Scripting Help
Topic: +v voice ?
Replies: 12
Views: 593

Re: +v voice ?

By replacing "isvoice" check with "isop" and mode +/-v with +/-o

Small tip: https://docs.eggheads.org/using/tcl-com ... me-channel
by CrazyCat
Fri Apr 12, 2024 2:41 pm
Forum: Scripting Help
Topic: +v voice ?
Replies: 12
Views: 593

Re: +v voice ?

You can do that for the @ (but just op, not aop), I'm not sure you can add the sop.
Eggdrop doesn't know these modes, so it can't check if an op is aop nor sop.
by CrazyCat
Fri Apr 12, 2024 12:44 pm
Forum: Scripting Help
Topic: +v voice ?
Replies: 12
Views: 593

Re: +v voice ?

Oh, I understand :) But not all...
Explain what you want to do.
by CrazyCat
Fri Apr 12, 2024 9:53 am
Forum: Scripting Help
Topic: +v voice ?
Replies: 12
Views: 593

Re: +v voice ?

What is Tcl AOP ?
by CrazyCat
Fri Apr 12, 2024 7:22 am
Forum: Scripting Help
Topic: +v voice ?
Replies: 12
Views: 593

Re: +v voice ?

What do you mean ? The user doesn't get his voice when he regains his previous nick ? I made a little test (and some little modifications): bind nick - * checkvoice proc checkvoice {nick uhost handle chan newnick} { set onchash [md5 [string tolower "${nick}:${chan}"]] set nnchash [md5 [str...
by CrazyCat
Wed Apr 10, 2024 5:22 am
Forum: Scripting Help
Topic: Sajoin??
Replies: 4
Views: 303

Re: Sajoin??

If your eggdrop is not on the target channel, it's normal. You can choose between 2 options: 1. have your eggdrop on #djsohbet and it'll work without error 2. remove the && [lsearch [chanlist $::ctarget] $nick]==-1 part in the condition and your eggdrop will do the sajoin command even if the...
by CrazyCat
Wed Apr 10, 2024 3:34 am
Forum: Scripting Help
Topic: Sajoin??
Replies: 4
Views: 303

Re: Sajoin?

First, your eggdrop must be ircop to use these feature. Invite seems better, user join if he want. And which criteria do you want to use to make user coming into target channel ? Everybody ? BTW, here is the simplest script: set ctarget "#djsohbet" set cfrom "#dj" proc forcejoin ...
by CrazyCat
Mon Apr 08, 2024 2:09 am
Forum: Eggdrop Help
Topic: eggdrop1.6.21 Compiling (make) error
Replies: 5
Views: 381

Re: eggdrop1.6.21 Compiling (make) error

a specific .tcl will only work on that version of eggdrop ¯\_(ツ)_/¯ I'm quite surprized, usually scripts working with 1.6.21 works with 1.8.x and 1.9.x, sometime they require a few adaptation but there is no real incompatibility. Peharps we can help you with the script rather helping you keepin an ...
by CrazyCat
Sun Apr 07, 2024 5:50 pm
Forum: Scripting Help
Topic: Message ?
Replies: 7
Views: 371

Re: Message ?

pektek wrote: Sun Apr 07, 2024 12:51 pm I don't understand what you mean chinfo ?
Go in eggdrop's party-line and type .help chinfo
by CrazyCat
Sun Apr 07, 2024 10:30 am
Forum: Scripting Help
Topic: Message ?
Replies: 7
Views: 371

Re: Message ?

Add a chinfo only for the owner.
Or you can do:
proc greet {nick uhost handle chan} {
   if {![matchattr $handle |+n $chan]} { return }
   putserv "PRIVMSG $chan :hey welcome $nick"
}
bind join |+n * greet
by CrazyCat
Sun Apr 07, 2024 7:01 am
Forum: Scripting Help
Topic: Message ?
Replies: 7
Views: 371

Re: Message ?

You can use .chinfo to add a greet message to an user (channel specific or not) and do .chanset #channel +greet to activate the display of the userinfo on #channel
by CrazyCat
Fri Apr 05, 2024 1:35 am
Forum: Eggdrop Help
Topic: eggdrop1.6.21 Compiling (make) error
Replies: 5
Views: 381

Re: eggdrop1.6.21 Compiling (make) error

Why 1.6.21 ? Eggdrop is now in version 1.9.5, the 1.6.xx branch is dead since 2016
by CrazyCat
Fri Mar 29, 2024 12:56 pm
Forum: Scripting Help
Topic: gline joinflood to snircd
Replies: 13
Views: 9460

Re: gline joinflood to snircd

Add some putlogs to check what happens.
Here is a small addition of putlog to show you how you can have relevant informations: https://tools.eggdrop.fr/privatebin/?fc ... SqdzBYgFYm
by CrazyCat
Fri Mar 29, 2024 3:02 am
Forum: Script Requests
Topic: Repeat kick on specific command or text
Replies: 7
Views: 624

Re: Repeat kick on specific command or text

Why use a tcl when you have the native setting flood-msg ?
by CrazyCat
Thu Mar 28, 2024 11:03 am
Forum: Script Requests
Topic: badwords tcl with regexp
Replies: 2
Views: 283

Re: badwords tcl with regexp

Regexp synopsis: regexp ?switches? exp string ?matchVar? ?subMatchVar subMatchVar ...? You use bword as exp (must be a regular expression) and textedit as string (must not be a regular expression). you'd better transform bword rather than textedit: % set bword "test" test % set textedit &q...