Let srand($0) seed the RNG to whatever the content of $0 is.

Manual bits from pedro@.
ok pedro@