egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Script for freenode

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Carlin0
Voice


Joined: 04 Dec 2018
Posts: 24
Location: Italy

PostPosted: Wed Feb 24, 2021 10:01 am    Post subject: Script for freenode Reply with quote

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
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Wed Feb 24, 2021 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Carlin0
Voice


Joined: 04 Dec 2018
Posts: 24
Location: Italy

PostPosted: Wed Feb 24, 2021 12:28 pm    Post subject: Reply with quote

I immediately tried with the 2nd syntax and work fine Wink

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber