lady_saved_by_grace
Historical / Guest
Export the access list regularly. Then if it gets cleared, you can import the saved list and won't lose that information.
Edited Jan 28, 2005 1:38 PM by lady_saved_by_grace
Gate keeper i tried ur codeing the 2nd one with the kick and i added it to its own filein remotes but the prob im finding is its kicking every chatter that joins the room. i havent tried the first one yet as soon as i do ill let u know how it works
Edited Jan 29, 2005 3:52 AM by redrider
lol had the signs around the wrong way. The first code is a tad faster than the second though, which is why i suggested the first code. And the reason for this is because it is only 1 sockwrite command, not 2. But really you wouldn't notice the difference.
on @*:JOIN:#: { if ($len($nick) >= 50) { sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) add deny ??????????????????????????????????????????????????*!*@*$* 0 : Auto Long Nick Ban $+ $crlf $+ kick $msn.get($cid,fullroom) $nick Long Nick Kick } }
Edited Jan 29, 2005 6:05 AM by The Gate Keeper
Can you just go ahead and add a deny to ??????????????????????????????????????????????????*!*@*$* without the long nickname having to join the room? That way you won't have to kick.
Edited Jan 29, 2005 1:40 PM by Warrior124
i guess a good way to do it is like this
on @*:JOIN:#: { if ($nick isowner $chan) { sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) add deny ??????????????????????????????????????????????????*!*@*$* 0 : Auto Long Nick Ban } }
but then you would be getting the error that entry is already in access list quite a bit. So find out what raw it is, i think it is 914, and block it.
Edited Jan 30, 2005 3:02 AM by The Gate Keeper