I know I saw a thread about this not too long ago but I can't seem to find it...anyway, I'm trying to make my machine home Z first, then X and Y at the same time. Right now it does Z, then Y, then X; the script looks like this:
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )