I'm trying to make player detection in a certain area via delta coordinates (x, y, z - dx, dy, dz) but I can't seem to get it to work properly. The command will result in the player being affected inside the area and/or along a certain axis (y or z) (in one or both directions).
This is the command I'm using:
*/execute @p[x=736,y=56,z=42,dx=754,dy=56,dz=60] ~ ~ ~
This results in detection from x=736,y=56,z=42 and further along the positive axes of x and z.