y is an alternative mode to m or c. So that yc would range-toggle on an empty square, but not when you make a capture.
It seems to range‐toggle on capture in my informal testing in the sandbox: a yamcfyambK on g3 capturing a pawn on g11 is only allowed to move to g10 as its final destination (whereas a yamcfambK, w/o the second y, can move back as far as it wishes). Is that a bug?
yafmcabQ is probably more elegant in any case though
It seems to range‐toggle on capture in my informal testing in the sandbox: a
yamcfyambK
on g3 capturing a pawn on g11 is only allowed to move to g10 as its final destination (whereas ayamcfambK
, w/o the secondy
, can move back as far as it wishes). Is that a bug?yafmcabQ
is probably more elegant in any case though