added .random <query>

similar to .lucky, but picks a random result instead of the first.
unneeded if block, result will be empty and the loop below just won't run in that case, you can remove it