in your browser.
Return to board index
I'm trying to make a macro that does one thing and another a few seconds later.
I know this doesn't work with casts but I think I read about some command a while ago that makes this possible at least with chat commands (e.g. saying "something" in the chat by pressing the macro and 5 seconds later automatically saying "something else").
Does anyone know how to make this work?
You need access to the /in command. There's a few addons that will implement it, but for the most part any addon that runs Lib-AceTimer should implement it.
In short, you'd do something like:
/in 10 /say Blah!
The addon 'InCommand' does solely this, I belive it's only running Lib-AceTimer
That explains why /in didn't do anything for me ... I didn't know an extra addon was needed.
/in was provided in the, now deprecated, Ace2 framework, specifically
_G = "/in"
SlashCmdList = function(msg)
local seconds, command, rest = msg:match("^(+)%s+(/+)(.*)$")
seconds = tonumber(seconds)
if not seconds then
DEFAULT_CHAT_FRAME:AddMessage("Error, bad arguments to /in. Must be in the form of `/in 5 /say hi'")
if IsSecureCmd(command) then
DEFAULT_CHAT_FRAME:AddMessage(("Error, /in cannot call secure command: %s"):format(command))
self:ScheduleEvent("AceEventSlashIn-" .. math.random(1, 1000000000), editbox.Execute, seconds, editbox, command .. rest)
has absolutely nothing to do with the /in command, and Ace3 itself never provided /in
can implement the /in command
So it is. Dunno why I thought it had been carried over... My bad.
This post was from a user who has deleted their account.
You are not logged in. Please
to post a reply or
if you don't already have an account.