Jump to content

Jaylin Whitfield

Resident
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Jaylin Whitfield

  1. Found it!! all is working now, thanks again for your help!! SOLVED!
  2. ok, so I fixed the if statements and they work now, the only thing is the line for the group invite, (thank you by the way )
  3. I originally had that, but then it wouldn't give me anything when I clicked on the options
  4. Hello, I am trying to script an object that when you walk over a prim, it will give you a dialog box, and give you the option of getting an LM, a notecard about the store, and an invite to the update group, but I cannot figure what is wrong, no matter what what option I choose in the dialog, it gives me everything and an error "Invalid Key passed to instant message" here is my code, hopefully you can help me with it, I am still a novice at scripting. ---------------------------------- string group_id = "4c96dfe4-a4d9-2c27-79e6-0de371a90c4b"; string message = "Click here to join our update group:"; integer channel = 13563; key gAV; default { state_entry() { llListen(channel,"","",""); } collision_start(integer num_detected) { gAV = llDetectedKey(0); llDialog(gAV, "Welcome to DarkWatch Customs Bikes!! Please select from the following:", ["Get LM", "Join Group", "Store Info", "Get All"], channel); } listen(integer chan, string name, key id, string mes) { if(message = "Get LM") { llGiveInventory(gAV, "DarkWatch Customs Choppers"); } if(message = "Join Group") { llInstantMessage(llDetectedKey(0), message + " secondlife:///app/group/" + group_id + "/about"); } if(message = "Store Info") { llGiveInventory(gAV, "DarkWatch Ad"); } if(message = "Give All") { llInstantMessage(gAV, message + " secondlife:///app/group/" + group_id + "/about"); llGiveInventory(gAV, "DarkWatch Ad"); llGiveInventory(gAV, "DarkWatch Customs Choppers"); } } }
×
×
  • Create New...