Custom macros for Clique
Please use this thread to discuss any custom macros you are using for Clique.
|
I have been trying to setup a custom macro to cast Nature's Swiftness then Healing Touch when I alt-left click on a frame in Grid. The macro I am trying goes something like this:
/cast Nature's Swiftness /stopcasting /cast [target=mouseover] Healing Touch Whenever I try the keybinding, the macro fires, but the heal lands on me instead of the player for the frame I am clicking. I have made sure to disable the Blizzard auto self-cast, and even changed the self-cast key binding from alt to ctrl, but I don't think it made any difference. Are other people using this same macro and it's working, or did I get the macro wrong? |
Try this
/cast Nature's Swiftness /stopcasting /cast [nostance, target=mouseover, exists, help] Healing Touch(Rank 11); [target=mouseover, exists, help] Regrowth(Rank 9) Does NS/HT when not in tree form. Does NS/Regrowth when in tree form. |
since i'm pretty horrible with scripting macros...any way someone can cobble together a macro that allows me to bind casting divine favor and then a max rank holy light to clique?
|
Quote:
/cast Divne Favor /stopcasting /cast [target=mouseover, exists, help]Holy Light(Rank 9) |
Quote:
/stopcasting /cast [target=mouseover, exists, help] Holy Light Fixed typos, and removed rank (its not necessary) |
Quote:
/stopcasting /cast [target=mouseover,exists,help]Holy Light Removed Extraneous spaces. (they're not necessary) |
edit: heh. should have reloaded the page once or twice. would have saved me half an hour of trial and error. :)
one other question though -- what is the macro index field for? |
Quote:
|
can i pass the unit name to a macro or function?
I would like to shift left click on a person in my party frame and have clique run a custom macro or a script that would do the following.
/s I clicked on Ferlus while holding the shift key down. Ferlus = the name of the unit I clicked on. Some ideas i had were: /script text = "I clicked on "..UnitName(this.unit).." while holding the shift key down." /script SendChatMessage(text) I get the following error: [string "text= " I clicked on "..UnitName(this.unit).." while"]:1: Usage: UnitName("unit") |
Quote:
/say I clicked on %t while holding the shift key down |
Quote:
|
Quote:
What I want specifically is to use clique to send the unit name of the unit I am clicking on to a function. Not to compare your addon to another, but the functionality I am looking for was in the old castparty addon. You were able to set clicks to certain spells or to a function, but if you did a function, the addon would only send one argument to the function and that was the unit name. It would be wonderful if I could setup a click directly to a function and pass that function the unit's name. The idea you had would have worked if there was a %mo for mouseover unit. Any other ideas or thoughts on the ability to set clique clicks to functions? |
YOu can do it using /script SendChatMessage, and UnitName("mouseover"). You'll need to look at WoWWiki.com for the syntax and such. Sorry the easy way didn't work.
|
Thanks
the UnitName("mouseover") worked just fine, thanks.
|
I posted it on the frontpage and only later I found this forum, sorry
Is it possible to add an announcement function in clique? I explain my problem, I play a druid and I need to announce on a channel that I'm Innervating/Ressing a player without having to target it (%t), but only cast-clicking on it I tryied to use the following macro in clique but with no succes for the notification, the casting work perfectly /c "choose your channel" Innervating [target=mouseover] /cast [target=mouseover] Innervate any suggestion on how I can solve this? thanks Melandir |
Well, /c does nothing, so that's the bulk of your issue. What you want is something like this:
/script SendChatMessage("I'm innervating you", "WHISPER", nil, UnitName("mouseover")) /cast [target=mouseover] Innervate |
Quote:
and I have found this nice script local s = "Innervating" local index = GetChannelName("yourchannel") if (index~=nil) then SendChatMessage(s , "CHANNEL", nil, index); end but it's still incomplete cause the result I like to have should be 5 [yourchannel]: innervating YOU (were YOU it's the char under the mouse) I still miss how to bind the mouseover target in a chat message to sobstitute the "%t" to avoid to select the char I want to innervate to have is name appear in the chat |
You need to concatenate UnitName("mouseover")
|
Hello I play a Paladin and I've begun using the Grid/Clique combo for healing. Now when I try to use Clique macros for Librams to get a little more passive +healing, the macro I use along with FoL, HL, etc. is cast upon myself instead of the raid frame that I click. Currently my macro is as follows.
/equip Blessed Book of Nagrand /cast [target=mouseover] /cast Flash of Light(Rank 6) Now, the same basically applies to each other Libram macro that I try to set up, it will cast the heal on myself as opposed to the intended target. I was wondering if there was something wrong with how I scripted it, or potentially you could write the proper way of doing it. |
All times are GMT -6. The time now is 02:45 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI