Well if it works I suppose it's okay...
But I wouldn't do things like that if it was my own bot. In fact what you are doing is that you are correcting a wrong behaviour by adding the opposite behaviour on top of it. I call this "patching".
You should better try to figure out WHY your bot jumps when using a sniper rifle and make it NOT press the IN_JUMP key then.
Ah I know, it's more difficult.
