I want to temporarily disable the effect of a mouse button during part of a command, but still be able to detect whether it's been pressed. Is this possible?

link|improve this question

feedback

1 Answer

up vote 4 down vote accepted
R::
if (CommandIsRunningYeah = 0)
{
Send R
}
Return

And then set CommandIsRunningYeah to 1 at the start of your command, and 0 at the end.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.