Quantcast Clique icon/name and functionality - WoWInterface
Thread Tools Display Modes
10-07-14, 12:41 PM   #1
A Cyclonian
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 47
Clique icon/name and functionality

I want to add an icon and a name to custom macros in clique but it currently shows a red question mark and the beginning of the script as name. #showtooltip does nothing. Any idea if it's possible, because it looks messy and unreadable that way.

Also, the main reason I wanted that was to add the /stopspelltarget line that avoids the annoying "blue cursor" thing when you click on a dead person ("friend" type on clique does not fix it). Any idea if I can do it somehow without including the line?
  Reply With Quote
10-07-14, 12:57 PM   #2
Premium Member
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
What does your macro look like?

I'm not that familar with macros or Clique, but I would guess there has to by at least one spell name in your macro to have #showtooltip actually showing anything.
  Reply With Quote
10-07-14, 11:13 PM   #3
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,603
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:

	["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:

# 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.
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!

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

WoWInterface » AddOns, Compilations, Macros » Macro Help » Clique icon/name and functionality

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off