Help with script to randomize UserMan user password

I am wondering if it possible to have a script that will reset / randomize a user(s) password everynight.

i.e. I have 20 static accounts, that need to have a new password everyday.

If mikrotik could add an option like

/ip hotspot user reset-counter

but instead

/ip hotspot user gen-rnd-password

it would be very easy to script.

Currently there is no such option to generate password for HotSpot users.

User Manager has option to generate passwords for the users batch, it is available from web-interface only.

I think I figured out a way using a script based off this one.

http://wiki.mikrotik.com/wiki/Remotely_change_password_for_managers

and having the password file generated on a server.