updatesectorz <x> <y> <z> <gv>
Returns sector number of sector at (<x>,<y>,<z>) into gamevar <gv>. See updatesector.