View Single Post
Old 01-21-11, 10:39 PM   #1
Mimfoe
A Defias Bandit
Join Date: Jan 2011
Posts: 3
Need help with this script!

I need it to announce the 4x random numbers to guildchat instead of to DEFAULT_CHAT_FRAME, but i simply can't figure out how, managed to easily set it to just /s, but doing "SendChatMessage" instead of the other one, but i can't figure out how to announce to Guild.

/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 DEFAULT_CHAT_FRAME:AddMessage(msg)


This is for a personal Guild Lotter, Yes it is LEGAL i've got pic from a GM here


Thanks in advance!


Mimfoe.
Mimfoe is offline   Reply With Quote