Flood control alias added

This commit is contained in:
Dionysus 2023-07-04 23:02:02 -04:00
parent 33acb02b5e
commit 7a69248f19
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -89,6 +89,8 @@ sn_cont = "masshl %n 04CAN WE CONTINUE THIS CONVERSATION AT IRC.SUPERNETS.ORG
sn_dad = "say this isnt your dads football channel"
sn_move = "masshl %n: 1,8/!\08,04 WARNING 1,8/!\ 04This channel has moved to 12IRC.SUPERNETS.ORG #SUPERBOWL"
sn_gold = "say You must have a SuperNETs 8,7GOLD account to view this message."
stopflood = "mode $channel +b ~time:5:~security-group:unknown-users"
alloflood = "mode $channel -b ~time:5:~security-group:unknown-users"
# Useful
allusers = "/perlexec my $b=$buffer\; my $i=weechat::infolist_get("irc_nick", "", weechat::buffer_get_string($b, "localvar_server").",".weechat::buffer_get_string($b, "localvar_channel"))\; my $s\; while(weechat::infolist_next($i)){ $s.=weechat::infolist_string($i, "name")." "\; } weechat::command($b, "$* $s")\; weechat::infolist_free($i)\;"