SHARE
TWEET

Untitled

a guest Jul 12th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. llLinkedMessage(LINK_SET,0,"Fruit_Bananas_4","");
  2.  
  3.  
  4.  
  5. link_message(integer sender, integer num, string msg, key id)
  6. {
  7.  
  8.     list tmp = llParseString2List(msg,"_","");    
  9.  
  10.     string thing = llList2String(tmp,0);
  11.     string type = llList2String(tmp,1);
  12.     integer quantity = (integer)llList2String(tmp,3);  
  13.  
  14.     if(thing == "Fruit")
  15.     {
  16.        
  17.       llOwnerSay("You have " + (string)quantity + type+".");
  18.              
  19.     }
  20.  
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top