Lava Burst / Earth Shock

Hey everyone,

I’m just looking for some help configuring re a macro that’ll cast Lava Bust only when it’s instant, otherwise cast Earth Shock. So often I go to click ES and milliseconds prior Lava Surge procs.

I’ve searched and found some things and tried using (nochannelling) but I’m new to GSE and macros in general so kinda struggling with getting it working.

Any help would be greatly appreciated.