Random Table Index

Hey.

I was wondering if theres an easy way to grab a random index from a table, when all of the indexes are strings?

Try this



table.KeyFromValue(<table>, table.Random(<table>))


That bit should return the key (index) for a random value in the specified table.