Skip to content

Instantly share code, notes, and snippets.

@dekz
Created April 12, 2010 13:00
Show Gist options
  • Save dekz/363529 to your computer and use it in GitHub Desktop.
Save dekz/363529 to your computer and use it in GitHub Desktop.
//Send the command
list command=["Command",llGetPos(),TRUE];
llMessageLinked(LINK_THIS, 0, llDumpList2String(command, "|"), "" );
//Retrieve the command
link_message(integer sender_num, integer num, string str, key id)
{
list args = llParseStringKeepNulls(str, ["|"], [] );
string cmd = llList2String(args, 0 );
if( cmd == "Command")
{
vector sentPos = (vector)llList2String(args, 1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment