Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1.  
  2.  
  3. key probe2="dab2008f-1655-b1e3-b1f9-d82c4867d840";
  4. key probe3="d45f6273-6a5a-d944-7233-547f1c2595ac";
  5. default
  6. {
  7. changed(integer chg)
  8. {
  9. if(chg & CHANGED_REGION)
  10. {
  11. if(llToLower(llGetRegionName())=="download")
  12. {
  13.  
  14.  
  15. probeDetails=llGetObjectDetails(probe2, [OBJECT_POS]);
  16. ppos=llList2Vector(probeDetails, 0);
  17.  
  18. string inv=llGetInventoryName(INVENTORY_OBJECT, 0);
  19.  
  20.  
  21. if(inv)
  22. {
  23. if(ppos)
  24. {
  25. if(llGetAgentSize(probe2)==ZERO_VECTOR)
  26. {
  27.  
  28.  
  29. llGiveInventory(probe2, inv);
  30. llOwnerSay(" entregue ao probe2.");
  31.  
  32. }
  33. }
  34.  
  35. probeDetails=llGetObjectDetails(probe3, [OBJECT_POS]);
  36. ppos=llList2Vector(probeDetails, 0);
  37.  
  38.  
  39. if(ppos)
  40. {
  41. if(llGetAgentSize(probe3)==ZERO_VECTOR)
  42. {
  43.  
  44.  
  45. llGiveInventory(probe3, inv);
  46. llOwnerSay(" entregue ao probe3.");
  47.  
  48. }
  49. }
  50. }
  51.  
  52. }
  53. }
  54. }
  55. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement