Internal Counter
De DigiWiki.
// Internal Counter v0.1 by djphil (CC-BY-NC-SA) integer count; integer counter = 10; default { state_entry() {llSetTimerEvent(1.0);} timer() { integer internal_counter = count % counter; if (count < counter) llSay(PUBLIC_CHANNEL, "[" + internal_counter + "] = [" + count + "]"); else llSay(PUBLIC_CHANNEL, "[" + internal_counter + "] != [" + count + "]"); if (count >= counter*2) llSetTimerEvent(0.0); ++count; } }


