This script automatically prevents the use of "Wasted" abilities.

Best regards, Melonity team.
It is located in the " Player " section.

Block of erroneous casts - button to enable/disable the script
Cancel casts in reflection - the script will block attempts to use abilities or items on a hero who has Linken Sphere not on cooldown.
Cancel Casts in Black King Bar - Cancels casting abilities on enemies with Black King Bar active
Cancel AOE casts - the script will block attempts to use AOE abilities if there is not a single enemy in the area of their application.
Best regards, Melonity team.