This command will return the Z axis value of the default analogue joystick.

Syntax: 
Return Integer=JOYSTICK Z()