// Display the simulator time dilation, as a percentage. float fade = 0; float steps = 5; string report; vector reportColor; default { state_entry() { llSetTimerEvent(1); } timer() { if(fade <= 0) { float a = llGetRegionTimeDilation(); integer b = (integer)(a * 100 + .005); string c = (string)b; while(llStringLength(c) < 2) c = "0" + c; reportColor = <1,1,1>; report = "Sim Time Ratio: " + c + "%"; fade = steps; } llSetText(report,reportColor,fade / steps); fade--; } }