First tip to you: Never post a script, but send it in a PM to one of the developers.
Second tip to you: I admire your dedication to help the server, but such a script is not at all hard to create (nonetheless, thank you for your contribution) so it will probably be done over anyway.
No offence.