// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Five-position rating pad // Not compiled or tested in-world // Setup: Use a face marked with five equal-width regions and set FACE. Owner-touch reports a selected integer. // Stop / restore: Remove or disable; no settings or records persist. // Notes: A controller example, not a public survey. No avatar identifiers, votes, or remote analytics are collected. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Not compiled or tested in-world. integer FACE=0; default { touch_start(integer n) { if(llDetectedKey(0)!=llGetOwner()||llDetectedTouchFace(0)!=FACE)return; vector st=llDetectedTouchST(0); if(st.x<0.0||st.x>1.0)return; integer score=1+(integer)(st.x*5.0); if(score>5)score=5; llOwnerSay("Selected "+(string)score+" of 5"); llMessageLinked(LINK_ALL_OTHERS,7846,(string)score,NULL_KEY); } }