////////////////////////////////////////////////////////// // WaS (c) grimore.org - 2012, License: GPLv3 // // Please see: http://www.gnu.org/licenses/gpl.html // // for legal details, rights of fair usage and // // the disclaimer and warranty conditions. // ////////////////////////////////////////////////////////// integer _comChannel; default { state_entry() { _comChannel = ((integer)("0x"+llGetSubString((string)llGetOwner(),-8,-1)) & 0x3FFFFFFF) ^ 0xBFFFFFFF; llListen(_comChannel, "", llGetOwner(), ""); } touch_start(integer total_number) { llRegionSay(_comChannel, "LEFT"); // Change this to either UP, DOWN, LEFT or RIGHT } on_rez(integer param) { llResetScript(); } }