| View previous topic :: View next topic |
| Author |
Message |
Carlin0 Voice

Joined: 04 Dec 2018 Posts: 24 Location: Italy
|
Posted: Wed Feb 24, 2021 10:01 am Post subject: Script for freenode |
|
|
I need a small script that when it detect text flood in the channel set
+q $~a
In order to quiet all unregistered users |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Wed Feb 24, 2021 11:58 am Post subject: |
|
|
| Code: | bind flud - * quiet
proc quiet {nick uhost handle type chan} {
pushmode $chan +q "\$~a"
flushmode $chan
} |
Not sure of the pushmode usage, if it don't work use:
| Code: | | putserv "MODE $chan +q \$~a" |
_________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
Carlin0 Voice

Joined: 04 Dec 2018 Posts: 24 Location: Italy
|
Posted: Wed Feb 24, 2021 12:28 pm Post subject: |
|
|
I immediately tried with the 2nd syntax and work fine
Thanks |
|
| Back to top |
|
 |
|