Jump to content

MadsCook

Resident
  • Posts

    16
  • Joined

  • Last visited

Reputation

2 Neutral

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, I am new here so please delete the question if this is the wrong place to ask: My question is. I use a invisible phantom prim on the side of a shipping container and whenever someone enter this prim the floating text changes to "this cargo is adressed to: madscook" for example. I also want my avatar to be notified whenever this happen and i made this script: key OtherPersonKey = "avatar key"; default { state_entry() { llVolumeDetect(TRUE); // Starts llVolumeDetect } collision_start(integer total_number) { llSetText(" \n Roleplay: Owner of this cargo container \n \n This cargo is addressed to: " + llKey2Name(llDetectedKey(0)), <1 ,1, 0>, 1 ); llInstantMessage(OtherPersonKey, "The cargo container adress now changed to " + llKey2Name(llDetectedKey(0))); } } Now i got some staff at my sim and i want to add multiple avatars keys. I know i can just create a "OtherpersonKey1" but i want to read the keys from a notecard. is there anyone here that can guide me in the right direction. I am a new beginner (as you probably understand) and have never read anything out of a notecard before. I tried to follow this guide: https://www.youtube.com/watch?v=q1J8g9duRbg but the web page it refers to is updated and therefore for a beginner it is hard to know what must be changed. Thanks for any help
  2. Thank you i will try to use yours and read thw wiki pages. Is there like a book or a good place to have a course in LSL scripting?
  3. Hi Thanks for good input. I see i made a mistake in the description of what i want, thanks for pointing it out. First door: The door should be in a prison. So that the prisoners can have access to food, the gym and outside area at certain times. So it is used as a role play and not something that everyone who visits the place will use. So the group (Staff members) must be able to open the door at any time. For all others it will auto open and auto closes to a certain time. I think i need help to the following. Create a slide door script Create the open /closed door timer script Create the bypass for the set group on the door. Second door: " - When door is locked a timer can be set when the door will open again, visible countdown (Group only)" The countdown can be visible for everyone. It was a mistake to set group only there. Here it is corrected: The door must be able to do the following: (access in parentheses) - Close/Open (everyone ) - Lock (Group only) - When door is locked a timer can be set when the door will open again, visible countdown (everyone)
  4. Thank you for valuable input! 🙂 The place is to keep someone out of a building And havea phantom prim on the uper two level but not on the ground floor. Maybe TP someone home is a better option. Where do i start to script something like that? I would like people that are member in a group (The group do not need to be the active) to stay. all others to be TP home. 🙂 I am new to scripts so i might ask very simple questions.
  5. Is it possible to If somone isn't member of a group and enter a Phantom prim they will be pushed out? Best regards MadsCook
  6. Hi, don't know if this is possible, can anyone help? I would like a door that can: - The door should have a scedule: open between 8:00 AM and 4:00 PM every day. (Second life time) And closed/locked between 4:00 PM and 8 AM. - The set group can override the schedule and open and close the door whenever they want.
  7. Hello I need a little help, i don't know if what i am thinking actually is possible: The door must be able to do the following: (access in parentheses) - Close/Open (everyone ) - Lock (Group only) - When door is locked a timer can be set when the door will open again, visible countdown (Group only) Thanks in advance for any tips
  8. default { state_entry() { llVolumeDetect(TRUE); // Starts llVolumeDetect } collision_start(integer total_number) { llSay(0, "Detected!"); // Tells you when something penetrates the prim } } This works but i don't get the name of the avatar that is detected. Could you give me an example of what could work? I wish to: Send a message to just the owner of the script If possible also to the group.
  9. Hi, I'm trying to set up a sensor that gives me the name of the avatar that walks inside an invisible prim. Can someone help me with the script? i tried llvolumedetect(true) and llSensor, But could not make it work. Very thank full for all help
  10. Hello I am new to LSL scripting. I am looking for a script that can deliver all object inside the content tab as in a folder. But to be able to get the content you need to be: 1. With-in a a specified distance from object. 2. Be a member of a group Anyone that can help me?
  11. Hello I have restarted one of the realistic prison / crime / police SIMs called SL Prison. You can read about the sim here: https://www.slprison.com/ I need staff and guards for my prison and my city. Please apply direct to me inworld (MadsCook) below here ,or at the apply staff form here: https://www.slprison.com/staff-form/ I am also looking for doctors and judges. For good RP i will pay some linden to the good officers and staffs.
×
×
  • Create New...