// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Four-zone touch panel // Not compiled or tested in-world // Setup: Set FACE. Owner-touch a quadrant; owner chat names the action and link code 7844 carries it to optional receivers. // Stop / restore: Remove or disable; no stored properties change. // Notes: Uses ST coordinates and four named commands. Receivers should validate the code and sender rather than trusting all link messages. // 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.y<0.0||st.x>1.0||st.y>1.0)return; string action="Back"; if(st.x>=0.5)action="Next"; if(st.y>=0.5) { action="Stop"; if(st.x>=0.5)action="Start"; } llOwnerSay(action); llMessageLinked(LINK_ALL_OTHERS,7844,action,NULL_KEY); } }