daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Jan 13th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. default
  2. {
  3.     touch_start(integer num_detected)
  4.     {
  5.         key id = llDetectedKey(0);
  6.         integer numOfObjects = llGetInventoryNumber(INVENTORY_OBJECT);
  7.         string firstObjectName = llGetInventoryName(INVENTORY_OBJECT, 0);
  8.  
  9.         if (numOfObjects)
  10.         {
  11.             llGiveInventory(id, firstObjectName);
  12.         }
  13.     }
  14. }
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