Hey Mastahg,
PHP:
Ezret now has an advanced macro:
Code:
/script Toggle= not Toggle;
with that code, it would be very helpful if when we mashed the macro if there was a line added into the HB window... "EzRet Combat is now OFF" and then "EzRet Combat is now Active" or anything along those lines. I looked at the code and saw that it doesn't actually appear to be toggling the variable but testing to see what it's value is... and then targeting/combat etc.
I would figure if that's the case, in any part of that code, the easiest way to do this would be to have a new variable set to the toggle value. Then anytime that the toggle value doesn't equal the variable, that means it got changed... so you write to the HB window it's current status and set that new variable to the new toggle value... There are probably several other ways to do it... and probably more than one that is simpler... just trying to offer an easy solution...
Thanks for all your hard work!
*Edit* In case it's not obvious why I'm asking for this... in the 'heat of a battle' if you need to toggle it off (like if you are carrying a flag and want to focus on running, not hitting anyone for that moment), then you could toggle it off... but while you're hitting it, it would be very helpful to know that it toggled and to see the status. I was using it in an arena the other night when I had it turned off while running up to them and then let it go (using Combat Bot)... well, the bot got stuck while running after them, so I toggled it back off and corrected it... but in all the action, I wasn't sure if I hit once or more than once... so a status indication is really needed. I could probably add it to my code, but I'm figuring if I see the need, others may too.