mIRC Home    About    Download    Register    News    Help

Print Thread
Limit nick changes #258063 07/06/16 12:18 PM
Joined: May 2013
Posts: 109
R
raycomp Offline OP
Vogon poet
OP Offline
Vogon poet
R
Joined: May 2013
Posts: 109
I have a channel with some users that continuously change nicks. Does someone have some ideas on how to limit changes? Something like after 3rd nick change in an hour to msg the nick to wait 10min before changing again.

Re: Limit nick changes [Re: raycomp] #258065 07/06/16 01:37 PM
Joined: Feb 2015
Posts: 243
O
OrFeAsGr Offline
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 243
Some/most ircd's have a channel mode to limit that to whatever you want.
If you could do /version and see the ircd it would be helpfull
For a scripted solution you could use something like this:
Code:
ON *:NICK: {
inc $+(%,nicks,$address($nick,2)) 1
if ($($+(%,nicks,$address($nick,2)),2) == 3) {
msg $nick You Are changing nicks too fast please wait for X minutes
unset $+(%,nicks,$address($nick,2))
}
}

But this wouldn't prevent them from contiuing.
Like i said some ircd's have +b N:host
Which stops the host you want from changin nicks. You could add that to the script if the ircd supports. (In some ircd's it's +b Q:host )
There's also +N mode which stops the nick changes for all users.
And a mode that limits nick changes in times:seconds format.

Re: Limit nick changes [Re: OrFeAsGr] #258090 08/06/16 06:20 PM
Joined: May 2013
Posts: 109
R
raycomp Offline OP
Vogon poet
OP Offline
Vogon poet
R
Joined: May 2013
Posts: 109
Thank you the version is: Unreal 3.2.10.