WoWInterface - View Single Post - Picking a random entry out of a table/list?
View Single Post
12-17-20, 10:19 AM   #3
A Wyrmkin Dreamwalker
Join Date: Oct 2016
Posts: 57
So if it's a list of 15 entries, then I should use

Lua Code:
  1. print(SongList[math.random(15SongList)]);


Or am I overthinking it and #SongList is fine as it is?
  Reply With Quote