Page 1 of 1

Printing Daily Quests

Posted: Sun Jan 02, 2011 9:09 pm
by jduartedj
For those who sometimes want to know how are you doing in daily quests I produced this simple code.
It indicates how many daily quests you have left to hand in!

It has the particularity that because it is so small it can (usefully) be used within a game macro, so I just set a hotkey to it and BAM!

anyways enjoy.

.....:::::: VERSION 2.0 ::::::.........
addon_showDQ.lua
Version 2.0
(1.48 KiB) Downloaded 287 times
This new version includes:
-- Auto setting a macro
-- printing to the game chat window
-- printing in color
TODO: set hotbar for the macro

USAGE: showDQ([slot_nr,macro_name])
-slor_nr is the macro slot desired to set the ingame macro (if slot_nr is nil then the macro isn't set)
-macro_name is the name of the macro set (defaults to "Dailies" if empty)

Re: Printing Daily Quests

Posted: Sun Jan 02, 2011 9:19 pm
by jduartedj
wasn't it rock5 who worked on macros recently?

I was wondering if I could check if a particular macro exists and if it doesn't add it. So in this case this could be used to add to the ingame macros, assign the hotkey to it and spam it like a spell while also allowing the player to use it.

Just exploring other ways of doing this.

Re: Printing Daily Quests

Posted: Sun Jan 02, 2011 10:28 pm
by rock5
jduartedj wrote:wasn't it rock5 who worked on macros recently?

I was wondering if I could check if a particular macro exists and if it doesn't add it. So in this case this could be used to add to the ingame macros, assign the hotkey to it and spam it like a spell while also allowing the player to use it.

Just exploring other ways of doing this.
Yeh, just have a look at the functions available in macros.lua.

Re: Printing Daily Quests

Posted: Mon Jan 03, 2011 8:17 am
by jduartedj
ok thanks will have a look

Re: Printing Daily Quests

Posted: Sun Jan 09, 2011 12:16 am
by jduartedj
Updated this addon, check it out ;)