Darkness Timer

Hello guys just had a question and hoping one of you knows the answer. I’m trying to set up or copy an existing macro or weakaura. I want to be able to call out when I cast darkness and also use a timer for the expiration. I downloaded RSA and it calls out when I use darkness but only in groups and it doesn’t have a timer. If anyone has a solution to this it’ll be helpful otherwise I’ll settle with what I have with RSA. Thanks!

WA:

Summary

!vE1wVTTnu4)oTaRow(sUuS(GTJtt6sCccDwbgcKnTeTmNLj1iPCIlgm62tdypT33pIHb09qbw3FbN)r7Ci1fFPPxGcuKip6WZLVZ35yFp)((eUFpV6vB61SHpr7tQvX7Gkn9jZ8jH4FGe3F54XAMbK7aFsqQ2iN1NDVXN4twKV1Z2)qFcvemrQUsYfWMD62RF3RHpqkJdL3ji3Xty(Txxd3KesnmFsA()vX(KjgtI(57T3D0izfUCVwJzcQAWXNUhEe8aPavIrXJIyknyF9SUr2c4J0ufvqNXY2KuR6rnQTVpytGzCPiEbQaD6i2CMWCLInMFVpHCv3ZphmbnBGbSydpXFe4)SrPJh3Fby5Kt7E(vNCdiJX(kEk1CFGtQoXuTg)OuHvZGG8zmiiIBsMiV7sbCS2)3kWWNd6yg1emHP)4BMPKtz0yZeuRC4TKy6cWljR7FR(ZhE7Q)A17rpemNEWwwpmHfhFwyMu9kJc5UobSl01h0PfP)as)wxdbVqWTmCiit8WC3SrCb7cNz6mWZL3X0UtAaCeb8X8GbwJBKDXxQKPjdcKPcCfuqrzUXax9QTv(c1uWeQkIzdFrmbtXdwpO0k(o6c9wE9FS6dR(NvV7HF5HFD1FV6DR(x46dRE3YHR(py13(WV)WVT69R(aEEFfcx)RqyxuOJ1vBVDgYg(T5IEEhT)bEh6C0n9UIYHbt4HScedkOInJYfCr0JIdZIzdKjmiNjHZC5p)IC4P2qnP6DqbE18AwFFmM0ZR5H7xRb6X2vBEGlzLb7OPgzwsU0uZssK6i0a86llo5V9ffa2ozf8lhELsgPyA9YHpHGMXt9jkantkImKJPQPcqIc4u2gTZoaO49RbVIkXMfANvjRObtF8Q9TaNz1FBc52nnAX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PypKFdg6YSiprzwBM6DpmV1pmCSMp9XuQ88WCUQl3zn6285G(uwhaklKyDqB1k734GQnp8WA1Bw7OgommG08oOC96Lq6sfdKKv8QSbDSjVSlhaz5QyXJ38NIcpnhuxJAOg9))

Code blocks, yo! Keeps the forums from trying to parse it as markdown.

Also, what in the unholy hells is this?

function(progress, alpha)
    if InCombatLockdown() then
        return 0
    else
        return 0
    end
end

o.O

Anyway, here’s one that announces in /y when you cast it, and when it expires, but that’s basically what RSA does. Having it count down the time until expiration would take a bit more work.

NOTE: addons are not permitted to send to /s or /y unless you’re in an instance or unless they’ve hooked the secure function (in which case you have to actually cast the spell via the addon/weakaura), so you probably can’t get it to work like you want while solo in the open world.

!TwvuZnQnq4Fl9H(yUbSHgNhDW4jzQpLulCZDViBzqaQbl5IeXo5b)BV7kbb3EV15MXdwSs73(TFA3fwilJrpWOf4pyPUZ2ivcg9PnzREKKYONFQS0iSSLr3golik4UGjbbZMnDcR8MOyWnP5yd)9mXzlJ(Rhz03hCiokmoiE2K47IVn62zr9oWv5162N1sf4qskjlDnJMR1nf6tk6j5rb7EWqNXQpGOU5yb3cms8Ma9G3b25wz(lYcBnJohEhSMBLALbtbJL3ADPLWy4vIT23biPFpD1kGT6T9MXGmSKUy(6FNKsPx2LmNM9lmioLsL0u))gNuYI0foGaCq6yX12wzvLOf5jXj99gC8(OOP5r4Ii8UFdKAigDTCmRyu4LoefkQ0WPPfI9DLLzoc9q6QNxUb4KId8WfjQNQ9kMxk3(VS1P6xyLheqmnD7DgEUvukpZO0NDPzpN6rT3Le9H9C7LDR0vFcETSq8dGrboIGTff1T0njjG0aX2i2oKS33JQHnSHURnxSbZwSkOwK)kSrFjWNEsGuLThI04P)uBgpaDbV9vfC3WCz8Ow7UlWsM3ezEJFvd8NCtyG)gZkAv8M)eUPq9Nm5og9vH44Ca7C7A8wXfDrt5)PoUqy4w8EZrVsnU3Yw5hx29hD8cWo)YUSmNeTwu1xYcNPwiRQTmsuaJ2O5UErmBZB4a9V)Qu)vf0MGwqU4QBKQQgbwprp01yLd5xVh5oD0bZ4HPls)6tKh24j9p4M4mioxhU99YQ)nYqfQr(HW1HCfawFAtXTiHtG3AH7cOqhYDhjn1COt)B9tjql5AvPSYleTovXxzlZXI)t62IxA5WKLx(CfSrH0okFdJpsl8nKCL8GV356bccUbjIqvbdoithAtuACG3q3wFFIrGXW4DkB8CqWoWLQFIWnoO5NdGaKFO1hyeOu6VGUtz57m6Q0LzUzNWO3NoELY5NgVeVJ8OqtwNMsgLuCe8cPHVVbAT37N)I)B15Vn0FmlyAaenzXyl3LDZvkDNkxGq1OB9J8WFtCpN6EgHprA0CS2xECYnw31i4Ru((qLYnWUDymKjR)BLS(uh4c0SI0W1U5QxUFWVKRIAGlQbUOgmg1(VD9i6hjCAqCyC0yMJqbZVef(V0qGV7HobA(KVeE7xGpL9g4v0eek2)a

If you really want the countdown, you could probably feature-request it either on RSA’s Curse issue tracker (https://www.curseforge.com/wow/addons/rsa/issues) or on their Discord (https://discord.gg/99QZ6sd).

Thanks for the quick response guys! I went with the WA you posted Xaedys since I only need that one spell to be announced make no sense to use RSA unless I need more spells announced later.

What? It’s the one I use and I even tested to see if the string was ok.

I left it like that myself because I felt it was too long as a massive wall of text.

Oh, I was mostly referring to the conditional that returns 0 for both logical paths.

That said, as far as I could tell, your WA didn’t do any announcement or anything. It was mostly an overcomplicated tracker icon for Darkness, and also weirdly had some Netherwalk interaction as well.

Really? I thought it was simple. It tracks the cooldown and duration when you’re on top of it. I didn’t make it, I only edited it some.

I use RSA for a lot of announcements too, so I thought it would fit in nicely, but oh well, different peeps, different tastes I guess. Didn’t notice anything to do with Netherwalk though.

One of the triggers has to do with Netherwalk, iirc.

Will look into it. Never had any problems whether I took Netherwalk or not. Thanks for pointing it out.