Advertisement
Gayngel

Untitled

Mar 3rd, 2015
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. changed(integer change)
  2. {
  3.  
  4. if (change & (CHANGED_ALLOWED_DROP | CHANGED_INVENTORY))
  5. {
  6.  
  7. integer num = llGetInventoryNumber(INVENTORY_NOTECARD);
  8. integer x;
  9.  
  10. for (x=0; x< num; x ++)
  11. {
  12.  
  13. string itemName = llGetInventoryName(INVENTORY_NOTECARD, x);
  14. llRegionSayTo(ToucherID,0, "You mail has been accepted and sent. Thank you.");
  15. llOwnerSay("You have new mail. \nNotecard named: " + itemName);
  16. }
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement