"wait" command is restricted server-side in MBII.
Hmm...
Maybe I got it wrong, maybe I wasn't attentive enough, but when I was testing it, it worked for me. I didn't notice any server-side restriction.
Though it was blocking input, indeed. So it's useless anyway.
I wrote an external application
Hmm... So turns out it's an external application... Interesting... Hmm... Very interesting...
I remember during my first playthrough of GTA San Andreas, I was exhausted by exercising in a gym, since it was boring, required mindlessly slamming a keyboard and wasted too much time.
So when I had my second playthrough, I wrote an application that emulated input from keyboard.
I was going (in game) to a gym, picking some machine, pressing the hotkey that activated my program, and walking (IRL) to the kitchen to make a cup of coffee. That have made my life much easier, I got Carl Johnson buff fast.
which sends the commands to the game console directly
Hmm... Interesting... Did you just phrased it poorly, or you actually mean it?
Did you create a program that really sends commands directly to the game console, or does it just emulate input like mine one?
thus in most cases I have to pause the script to chat
This is exactly what I meant by saying "some issue with input"