Bug? Missing data? Anything else you want to let us know?
if(rand < chf("threshold")){ int npt = addpoint(0, @P); setpointgroup(0, "move", npt, 1);