Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unread 01-21-11, 11: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
 

Go BackWoWInterface » AddOns, Compilations, Macros » Macro Help » Need help with this script!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off