Quote:
Originally posted by Loriel
It is 10000 iterations without delay, so....
NPC Code:
while (true) {
for (i = 0; i < 10000; i ++)
do_malicious_things();
sleep 0.1;
}
|
Technically that wouldn't work. When it hit the 10,000th loop in the for(), it'd abort the script and thus never reach the sleep.