Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- llLinkedMessage(LINK_SET,0,"Fruit_Bananas_4","");
- link_message(integer sender, integer num, string msg, key id)
- {
- list tmp = llParseString2List(msg,"_","");
- string thing = llList2String(tmp,0);
- string type = llList2String(tmp,1);
- integer quantity = (integer)llList2String(tmp,3);
- if(thing == "Fruit")
- {
- llOwnerSay("You have " + (string)quantity + type+".");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement