Okay, so heres the issue I haven't been able to solve.
When you run this macro while handing to Gunlok in kaladim for bone chips, it will pick up a stack of chips and try handing them to him, and since RoF2 allows stacks in trade window, it will bug out and eat the bone chips.
I have a feeling...