Hello, I thought of a macro/plugin I would like to have to help me on raids. What the script does is keep track of specified players HP and gives me a warning if their health drops too low. The macro itself is really simple:
The problem with this is that if I want to add more people to keep an eye on, I have to manually open up the macro and edit it. I'd like to find out a way that I could avoid doing this. I thought I could try and use an INI file, but the MQ2 Wiki isn't quite clear on how I could add/call on the fly.
I think this would work better as a plugin, since you could make a new command that would let you add/remove players to watch on the fly, instead of having to try and make an event for it. Does anyone have any hints/tips on what I could do? Sadly, I don't know C++, else I'd do it on my own.
Thanks
Rich (BB code):
#turbo
Sub Main
:loopy
/if (${NearestSpawn[TOONSNAME].PctHPs}<70) {
/popup HEAL TOONSNAME
/delay 4s
}
/goto :loopy
The problem with this is that if I want to add more people to keep an eye on, I have to manually open up the macro and edit it. I'd like to find out a way that I could avoid doing this. I thought I could try and use an INI file, but the MQ2 Wiki isn't quite clear on how I could add/call on the fly.
I think this would work better as a plugin, since you could make a new command that would let you add/remove players to watch on the fly, instead of having to try and make an event for it. Does anyone have any hints/tips on what I could do? Sadly, I don't know C++, else I'd do it on my own.
Thanks