MQ2React

MQ2React

Other Authors
drwhomphd, Knightly
Included in Very Vanilla
Very Vanilla Included! No need to download.
Server Type
🏢 Live 🏘️ Emu TLP Test

Wiki Manual

2020 (x2), 2023 ESA Winner
MQ2React
MQ2React is a plugin that allows users to define actions, as well as conditions that determine when to perform those actions. Conditions are defined in MQ2 Macro syntax and actions are mq2 commands. It's up to the user to make sure their defined conditionals and reactions do not conflict with one another; mq2react does no additional action deconfliction. This is similar to the "HolyShit" and "DownShit" behavior of MQ2Melee without the additional automation behavior that exists within the plugin. MQ2React also allows for complex conditions to be defined as global conditions and reused throughout multiple reacts, thus making reacts considerably easier to maintain and reuse.

Configuration

MQ2React uses a yaml format for configuration. Upon initial execution, a default configuration file will be created with example reacts and an example global condition. The configuration file is case sensitive. It's recommended you use a code editor for manually editing .yaml files, such as VS Code.

CONFIGURATION FILE: MQ2React.yaml

Commands
/react [option] [<value>...]Enable, disable, list, add and remove reactions.

TLOs
TLOData Type(s)Description
ReactReactHolds the React data type, which is far more interesting.

Note: For TLOs that return condition statements, MQ2, by design, will parse these conditions automatically. These TLOs are most useful to provide shortcuts to complex conditions for macros like KissAssist.

Known Issues
  • There's currently a very simple yaml example, I'd like to have us communally put more together, especially as folks have pointed out not everyone is familiar with yaml.
  • This documentation should probably include a set of assumptions and potentially best practices when handling conditions and actions.
  • The YAML library used doesn't yet support the escaping of double-quotes in its serializer (e.g., action: "/cast \"My long spell name\"")
Share!
We're excited to see what configurations people come up with. Please share your creations here,
Source Repository
https://github.com/RedGuides/MQ2React
[git] Automation options?
Yes
Author
drwhomphd
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from drwhomphd

Share this resource

Latest updates

  1. 20230809

    〰️Commits Added on/off state to globally enable/disable processing. Added TLO member Active...
  2. react processing

    Config setting added to affect rate of react processing.
  3. File Fix & User Experience

    MQ2React will be gentler on your YAML files. File wipe-outs should be reduced (hopefully...

Latest reviews

Outstanding plugin Doc!!!
Back
Top