Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default
- {
- state_entry()
- {
- llRequestPermissions(llGetOwner(), PERMISSION_CHANGE_LINKS);
- }
- run_time_permissions(integer perm)
- {
- // Only bother rezzing the object if will be able to link it.
- if (perm & PERMISSION_CHANGE_LINKS)
- {}
- else
- llOwnerSay("Sorry, we can't link.");
- }
- touch_start(integer total_number)
- {
- llRezObject("Box", llGetPos() + <0,0,0.5>, ZERO_VECTOR, llGetRot(), 0);
- }
- object_rez(key id)
- {
- llSay(0,(string)id);
- llCreateLink( id, TRUE );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement