Warlock Macro Question

Sorry, noob question… I’m not good with Macros. Should be pretty simple…

I want to make a Summoning Macro that will…
a) Cast Ritual of Summon on my current target.
b) Whisper that target that I’m summoning them, please be ready.
c) Announce in party/raid chat that I’m summoning that target, so other warlocks don’t double summon.

I kinda know how to do it all except the current target part…

Help! Thank you!

1 Like

If you have the target selected, it should just work. I think you can also do…

/cast [@target] Ritual of Summoning

It sounds like you have the other stuff sorted out. There’s also a lot of options if you google “wow classic warlock summoning macro” so you should be able to find some inspiration :slight_smile:

Hmmm… so, this didn’t work. [@target] didn’t work. Found out that %t works instead…

So far, I have…
/cast %t Ritual of Summoning
/w %t Your summon is coming! Tips appreciated, but not mandatory!

The whisper part isn’t working. It returns me an error of “no player named %t currently playing”.

Also, while I have Warlocks… what’s the addon yall use to manage summons in Era? The “123” addon? Is it RaidSummon? Because that doesn’t seem to be working in Fresh…

I just tested [@target] with one of my own abilities and it’s working; however, you don’t really need it there. Omitting it entirely is still casting it on my target. Maybe this is different with a warlock summons somehow?

For the whisper part, I think you need to use SendChatMessage. Here’s a link to the API page…
https://wowwiki-archive.fandom.com/wiki/API_SendChatMessage

For example, you can do…

/cast Ritual of Summoning
/script SendChatMessage("Some message here!", "WHISPER", nil, UnitName("target"))

This will give you an error if you’re targeting something that can’t be whispered though. There’s probably a way to prevent that…

*EDIT: Ah yea, you can do this…

/cast Ritual of Summoning
/script if UnitIsPlayer("target") then SendChatMessage("Testing!", "WHISPER", nil, UnitName("target")) end

You can use SendChatMessage to also send the message to raid/party. Read the link I sent you to find out how :slight_smile:

1 Like

Did your bot break OP? Sorry try spending a little more money for better bot software

What the heck are you talking about?

This worked, thanks so much Tubbly!

2 Likes

Why are you so lonely?

1 Like

Interestingly, you could type this post directly into chatGPT and it would churn out a perfect macro for you.

1 Like

lol holy crap, you’re right. I just tested it.

1 Like