Yeah, it works fine for me if you ignore the example:
[] spawn { waitUntil { hint str cursorTarget; false } };
Note that it detects vehicles, units and buildings (even map-placed buildings), but not trees or bushes.
Can't believe how much effort I had trying to make a decent workaround for this command in A1!