Any way we can have the bot simulate holding down the right click instead of ~3x per second button push? Losing lots of dps, and a button hold solution would accommodate the too many inputs error.
That is already supported through the BeginUseAt / BeginUse / BeginUseOn API functions. However, the routine you are using needs to properly use those functions to achieve the results you desire.