float t; default { touch_start(integer num_detected) { t = llGetTime(); } touch_end(integer num_detected) { llOwnerSay((string)(llGetTime() - t) + " seconds between touch_start and touch_end"); } }