Im getting stuck at the while loop for obvious reasons being that $_current_time is relatively always lesser than $_new_time as the time() function updates both variables. i need the while loop to run only for the $_time_offset period. how could i better approach this. Thanks in Advance!$_current_time = time(); $_new_time = $_current_time + $_time_offset; while ($_current_time < $_new_time ){ execute_attack($random_rate); }
In reply to loop execution for "time" specified by perlpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |