/////////////////////////////////////////////////////////////////////////// // Copyright (C) Wizardry and Steamworks 2011 - License: GNU GPLv3 // // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // // rights of fair usage, the disclaimer and warranty conditions. // /////////////////////////////////////////////////////////////////////////// vector left = <.455429,1.375748,-.020874>; vector right = <-.276947,1.375740,-.020874>; integer row =2; default { link_message(integer sender_num, integer num, string str, key id) { if(id != "k@reconf") return; integer theDo = llList2Integer(llParseString2List(str, [","], [""]), row); if(!theDo) return; if(llVecDist(llGetLocalPos(), left)<.2) { llSetPos(right); return; } if(llVecDist(llGetLocalPos(), right)<.2) { llSetPos(left); return; } } }