Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- key probe2="dab2008f-1655-b1e3-b1f9-d82c4867d840";
- key probe3="d45f6273-6a5a-d944-7233-547f1c2595ac";
- default
- {
- changed(integer chg)
- {
- if(chg & CHANGED_REGION)
- {
- if(llToLower(llGetRegionName())=="download")
- {
- probeDetails=llGetObjectDetails(probe2, [OBJECT_POS]);
- ppos=llList2Vector(probeDetails, 0);
- string inv=llGetInventoryName(INVENTORY_OBJECT, 0);
- if(inv)
- {
- if(ppos)
- {
- if(llGetAgentSize(probe2)==ZERO_VECTOR)
- {
- llGiveInventory(probe2, inv);
- llOwnerSay(" entregue ao probe2.");
- }
- }
- probeDetails=llGetObjectDetails(probe3, [OBJECT_POS]);
- ppos=llList2Vector(probeDetails, 0);
- if(ppos)
- {
- if(llGetAgentSize(probe3)==ZERO_VECTOR)
- {
- llGiveInventory(probe3, inv);
- llOwnerSay(" entregue ao probe3.");
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement