As Epic also wrote while working on the script I was in contact with him to try to create the best version of the script.
A perfect job came out of it
Thank you so much for your availability and expertise, Epic!
Being on a net that, at least at the moment, does not have many settings to counter this kind of messages, spam and such, this script in combination with badwords and badnicks will surely be useful for me to clean up the channel a bit!
Maybe it will be useful to other users too
So, see you next time, thanks again for everything! : D