include("Worlds2_Compiled") seed = 1 rand = function(lim) { seed = (seed * 32719 + 3) % 32749 return seed % lim } w1 = thisWorld.sprout() w2 = thisWorld.sprout() in w1 { alert(rand(10)) } in w2 { alert(rand(10)) }