In Pathfinder games when using firearms a misfire can occurs (quite often I've found), when it
does this effectively ends your attack.
With iterative attacks is it possible to have a macro (I
have API access if necessary) check the value of any preceding attack roll and
if it meets the misfire value to end any further attack rolls?