Thank you I got it to work to allow max 4 nick changes in time period and then disallow a fifth one.
I need to then send nick a message like :
msg # $nick you had some fun now. Wait 2 minutes before you can change your nick again
I have tried some places but cant get it to work. Any help how/where?