Simple Macro

Simple Macro

11.4k Downloads

Support macros with empty conditionals

crudos opened this issue ยท 1 comments

commented

Some macros have empty conditionals indicating a default case.

/focus [@mouseover, exists, nodead] ; []

In English, if I have a mouseover that exists and isn't dead then /focus it. If that isn't the case then do a normal /focus (on my current target, which will actually clear it if there isn't one).

commented

c982f78

Somewhat fixes the conditional issue but doesn't treat multiple consecutive conditional blocks correctly e.g.

/use [condition1, condition2] [] argument

Opening #14 to handle that.