function asdf(){ if(getSimTime()-$lasttime < a number) { $lasttime = getSimTime(); do stuff here } else { error stuff here }}
Code: [Select]function asdf(){ if(getSimTime()-$lasttime < a number) { $lasttime = getSimTime(); do stuff here } else { error stuff here }}
this will run the code if it was executed within the last xxx, not if it wasn't
once Blockland has been running for 16 minutes, this will start to get more and more broken as time passes
Not if you use a spaaacial script that I made, if OP wants it just pm me.
if ( $Sim::Time - $YourTimeStorageVariable < 1 / 3 ){ return;}$YourTimeStorageVariable = $Sim::Time;...