Yes, you can put just any macro in there, I thought that would be the most flexible way to do it. It uses standard macros with a few exceptions:
- You do not need a leading "/"
- In XML you need to replace & by & and ' by '
- You can designate your target, e.g. for using a useabilityonplayer macro, with the string "Parent.Target". So, for example, the XML could read:
Macro="useabilityonplayer Parent.Target Ruinous Heart
to cast a Necro heart.
- For multiple commands just make a new line, e.g.
Macro="useabilityonplayer Parent.Target Ruinous Heart
tell Parent.Target I gave you my heart
to cast a Necro heart and tell the recipient about it (if the latter does not work enclose the tell text like this: "I gave you my heart"s;, I'm actually not quite sure off the top of my head if that's needed for that command).
- Edit the Tooltip="..." to identify your macro in game with a tooltip.
I have probably missed something in that explanation, let me know if you encounter difficulties.
UPDATE: Apparently Windows Notepad can break the file if you use it for editing. A great free open-source editor that works flawlessly and that I highly recommend can be downloaded here:
Notepad++