get_random_table_entry()

Parameters:
none
 
Returns:
(any type) a random entry from the table passed in (can be any type)
(nil) if the table passed in is not a table or has no entries, returns nil

Description:
Get a random entry from a lua table.
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16