I need a simple script that will wait for a random amount of time (the random amount of time is set-able within the script; i.e. rand(1min-3min)) then call an event on the map. Then reset itself to wait for that random period of time again. I need it so that I can change or reset the time from an event at will. And also make it so I can set an interval of randomness that the event will or will not be called.
An example application would be: Your running a town and every so often bandits will attack; or: Your on your farm and every so often wolfs will come to you farm and attack the chickens; etc.
An example application would be: Your running a town and every so often bandits will attack; or: Your on your farm and every so often wolfs will come to you farm and attack the chickens; etc.