Created
April 12, 2010 13:00
-
-
Save dekz/363529 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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