Script for auto generated pseudo random passwords for guest Wi-Fi

Is a thread about password here:
http://forum.mikrotik.com/t/one-line-password-generation-without-fetch-tool/141623/1