Any help would be appreciated.
Thanks
key lastAVkey = NULL_KEY;
string fltText = "";
integer i;
float xAxis = 43.664;
float yAxis = 172.959;
float zAxis = 340.000;
************************************************** **
float xxAxis = 43.664;
float yyAxis = 150.000;
float zzAxis = 200.000;
list AllowedList= ["Avie1","Avie2"];
integer check_admitted_list (string name)
{
if ( llListFindList(AllowedList, [name]) >= 0 )
{
vector dest = <xAxis,yAxis,zAxis>;
} else
{
vector dest = <xxAxis,yyAxis,ZZAxis>;
}
}
************************************************** ***
default
{
state_entry()
{
llSetSitText("Teleport"

llSetText(fltText, <1,1,1>, 1);
rotation curr = llGetRot();
curr.s = -curr.s;
vector dest2 = dest - llGetPos();
dest2 = dest2 * curr;
llSitTarget(dest2, <0,0,0,1> * curr);
}
touch_start(integer i)
{
llSay(0,"Right click me and chose 'Teleport'"

}
changed(integer change)
{
key currentAVkey = llAvatarOnSitTarget();
if (currentAVkey != NULL_KEY && lastAVkey == NULL_KEY)
{
lastAVkey = currentAVkey;
if (!(llGetPermissions() & PERMISSION_TRIGGER_ANIMATION))
llRequestPermissions(currentAVkey,PERMISSION_TRIGG ER_ANIMATION);
llUnSit(currentAVkey);
llStopAnimation("sit"

llResetScript();
}
}
}