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.

Script for freenode

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
User avatar
Carlin0
Voice
Posts: 28
Joined: Tue Dec 04, 2018 3:41 pm
Location: Italy

Script for freenode

Post by Carlin0 »

I need a small script that when it detect text flood in the channel set

+q $~a

In order to quiet all unregistered users
User avatar
CrazyCat
Revered One
Posts: 1215
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Code: Select all

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: Select all

putserv "MODE $chan +q \$~a"
User avatar
Carlin0
Voice
Posts: 28
Joined: Tue Dec 04, 2018 3:41 pm
Location: Italy

Post by Carlin0 »

I immediately tried with the 2nd syntax and work fine ;)

Thanks
Post Reply