Quantcast WoWInterface - View Single Post - Need help with this script!
View Single Post
01-22-11, 08:07 AM   #4
A Rage Talon Dragon Guard
Ailae's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 317
/script local a,msg={},"Weekly Lotto Numbers are:" for b = 1,4 do local c = math.random(10) while a[c] do c = math.random(10) end a[c]=1 msg=msg.." "..c end SendChatMessage(msg, "GUILD")
Prints the expected output, "Weekly Lotto Numbers are: n n n n", to guild-chat.
Oh, the simulated horror!
  Reply With Quote