View Single Post
10-07-14, 11:13 PM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Clique doesn't support #show or #showtooltip, or any other method of assigning an icon to custom macros. You can trick it by editing your saved variables file:

Code:
{
	["icon"] = "Interface\\Icons\\ability_shaman_cleansespirit",
	["macrotext"] = "/cast [@mouseover, harm]Purge;[@mouseover, dead]Ancestral Spirit;[@mouseover]Cleanse Spirit",
	["type"] = "macro",
	["key"] = "SHIFT-BUTTON1",
	["sets"] = {
		["default"] = true,
	},
},
There's nothing you can do about the name though; it just doesn't have any concept of a name or label in relation to custom macro bindings. You can get a slightly more useful display by taking advantage of the fact that lines starting with a # in a macro are considered comments and ignored when you actually run the macro:

Code:
# Cure
/cast [@mouseover, harm] Purge; [@mouseover, dead] Ancestral Spirit; [@mouseover] Cleanse Spirit
This won't affect the functionality but will make sure "# Cure" is shown first in Clique's list.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.

Last edited by Phanx : 10-07-14 at 11:18 PM.
  Reply With Quote