ZenMondo's Simple Object Inventory Count

From ZenMondo Wormser, 8 Months ago, written in Linden Scripting, viewed 136 times.
URL http://flynnos.org/flynnbin/view/9d69619a Embed
Download Paste or View Raw
  1. ///////////////////////////////////////////
  2. // ZenMondo's Simple Object Inventory Count
  3. //
  4. //  Place this script in an object and touch it to say how many items are in its inventory.
  5. //
  6. //////////////////////////////////////////////
  7.  
  8.  
  9. {
  10.    
  11.     touch_start(integer total_number)
  12.     {
  13.         integer inventory_num = llGetInventoryNumber(INVENTORY_ALL);
  14.         llSay(0, "This Object conatins " + (string)inventory_num + " items in its inventory including this script.");
  15.     }
  16. }
  17.  

Reply to "ZenMondo's Simple Object Inventory Count"

Here you can reply to the paste above

captcha