Dieses Script lässt ein Prim durch Zufall bewegen.
void default_event_state_entry()
{
    llSetTimerEvent(0.1);
}
public void default_event_timer() {
    llSetTimerEvent(0.0);
    x += 0.2;
    y += 0.1;
    Prim.Position.x = System.Math.Sin(x) * 10 + 100;
    Prim.Position.y = System.Math.Cos(y) * 10 + 100;
    llSetTimerEvent(0.1);
}