Generic, Simple Spell Announce Macro

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

fryfrog
a hill giant
a hill giant
Posts: 271
Joined: Fri Jun 20, 2003 5:37 am

Generic, Simple Spell Announce Macro

Post by fryfrog » Mon Jan 12, 2004 1:01 am

I have created a spell announce macro that I use while playing my cleric. Instead of making hot buttons that do a "/g casting CH on %t" I just have a macro that uses an event and watches for "begin casting Complete Heal" then makes an announcement to any pre-configured channel. I like it because of the way I play, I click on group members with my mouse, then click to cast the spell. Maybe I should use the keys and it would be moot... but I enjoy that way.

My hope is that someone can help me figure out a way to make it more generic and less retarded. Later I will post my working, but me cleric only macro.

Basically it has an event for EACH spell I would cast (ch, cel heal, remedy, group heal, supernal light, etc) and a seperate section for eacho f these...

My thought is that the macro would either have the stuff come in on cmdline or pre-programed in the macro...

IE: /macro cast_annc "Complete Heal" "Supernal Light" "Remedy" and then when ever it sees you cast it would say something like "Here comes a " <variable> " to %t"

or perhaps in the macro just have an array populated with your spells to watch for.

fryfrog
a hill giant
a hill giant
Posts: 271
Joined: Fri Jun 20, 2003 5:37 am

Post by fryfrog » Thu Apr 22, 2004 11:32 pm

So rather than make another post, I would like to bump this one. I don't need help actually writing it... that I can do. My problem is I just need a suggestion or two on how do do the structure in an intelligent way.

Should I just hard code it like normal? Should I use INI or loops or? Suggestions are welcome. I hate making hot buttons :)