MOUSEEVENTF is used so I dont have to get the current mouse pos.
The x and y coords will be relative to the cur mouse pos which means passing 0 wont change the mouse pos at all.

I guess you simply forgot to put a wait(1) between because this way the engine wont register any click but will stop any real mouse clicks from happening laugh