Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-02-20, 02:16 PM   #1
Nodos7
A Murloc Raider
 
Nodos7's Avatar
Join Date: Feb 2020
Posts: 4
Delayed message in chat

Hello, world!
I have this simple code:
Code:
function ButtonHelp_OnClick()
	if UnitIsPlayer("target") or UnitName("target") == nil then
    SendChatMessage("I need help!");
    SendChatMessage("Somebody, help!");
    else
	SendChatMessage("Help me, target!");
        SendChatMessage("Target, please!");
    end
end
How can I send a second message after first message in 3 seconds? Is there any timer for this in vanilla wow?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Delayed message in chat


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