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