/count different depending on right or left click.
Like the title says, I was wondering if it's possible to have a macro for a count-down timer to be different depending on if I right or left-click. I'd like a 10s timer if I left-click, and a 3s timer if I right-click.
Thanks! |
I'm assuming you're talking about the new countdown feature on the alpha. Unfortunately, the /countdown command does not parse any secure macro options and only accepts numbers. However, you can skip the command and go straight to the function.
Lua Code:
Here's the command implementation if anyone's curious: Lua Code:
MAX_COUNTDOWN_SECONDS is currently 3600 seconds, or one hour. |
Dbm
Actually I meant for using DBM. But this is good to know for the future!
Do you know how to make it work for DBM too? Thanks! :) |
Ah, DBM. I was confused by the /count since DBM uses /pull. Same format, different function. Unfortunately, DBM doesn't expose its pull function, but we can use the registered SlashCmdList function instead.
Lua Code:
|
Quote:
P.S. Your macro worked great! Thanks!!! |
All times are GMT -6. The time now is 10:40 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI