About this file
Overview
What this addon does is add deny access to *!*@* (meaning a total ban).
When someone tries to join their gate would temporarily be added to grant access allowing them to be able to join the second time around.
Mode +u is then removed to prevent knock flooding.
They will have one minute to join before their grant access is removed.
Once the joiner has joined it will immediately remove the grant access from their gate which will also prevent hop flooding as well.
Update:
Added mode protect for knock messages incase someone unsets it.
Also fixed the on join typo from the first release.
When someone tries to join their gate would temporarily be added to grant access allowing them to be able to join the second time around.
Mode +u is then removed to prevent knock flooding.
They will have one minute to join before their grant access is removed.
Once the joiner has joined it will immediately remove the grant access from their gate which will also prevent hop flooding as well.
Update:
Added mode protect for knock messages incase someone unsets it.
Also fixed the on join typo from the first release.
More from this creator
<br />
if ($2 == join) {<br />
inc -u10 %joins<br />
if (%joins => 4) set -u10 %safe on<br />
}<br />
if ($2 == join) {<br />
if (%safe) && ($options(room,safe.join) == on) sockwrite -n %s $+(kick %s %i Safe,$cr,access %s add deny %i)<br />
} <br />
<br />
%i represents the user, %s represents the sockname i tested you code aswell earlier it didnt stop them from joining but they could hop flood so it works
Moral of the story is dont knock it till you tried it
<br />
if ($2 == join) {<br />
inc -u10 %j<br />
if (%j => 4) access $3 add deny *@* 1<br />
}