rain.chance = Math.random(20, 100)
would need that too plöx !Is there any way (with math.random) to make it rain over the whole place, not on a single screen?
[23:47:39.623] [Error - GlobalEvent Interface]
[23:47:39.623] data/globalevents/scripts/rain.lua:onThink
[23:47:39.624] Description:
[23:47:39.624] data/globalevents/scripts/rain.lua:9: bad argument #2 to 'random' (interval is empty)
[23:47:39.624] stack traceback:
[23:47:39.624] [C]: in function 'random'
[23:47:39.624] data/globalevents/scripts/rain.lua:9: in function <data/globalevents/scripts/rain.lua:3>
[23:47:39.624] [Error - GlobalEvents::think] Couldn't execute event: rain