Jump to content

Caspian Dionysus

Resident
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Caspian Dionysus

  1. For whatever reason it didn't give me that error again when I removed it. lol so your suggestion worked. Thank you!
  2. If I remove it from there, it tells me the detected key in the else if statement isn't defined. When I added it, that error went away and it gave a syntax error. Edit: Crap now it worked. geez...thank you for making me try that again. It works now.
  3. Yes Pooh is a key. Syntax Error at the beginning of the else if line
  4. I fixed the misspelling and it still throws the same error.
  5. I'm writing a script that will send message based on keys. Everything on the script is good, except I keep getting syntax errors on the else if statement. Before I added that part into the script it worked fine. Any idea what I'm doing wrong? list message = [ " message"]; list TrinMessage = [ " test message."]; list PoohMessage = [ " test msg."]; integer messageNumber; integer TrinMessageNumber; integer PoohMessageNumber; string Trin = "removed keys for privacy"; string Pooh = "removed keys for privacy"; default { touch_start(integer num_detected) { integer x; key detectedKey; for (x = 0; x < num_detected; x += 1) { detectedKey = llDetectedKey(x); if (detectedKey == Trin) { TrinMessageNumber = (integer)llFrand((float)llGetListLength(TrinMessage)); llSay(0, llGetDisplayName(llDetectedKey(0)) + llList2String(TrinMessage,TrinMessageNumber)); } detectedKey = llDetectedKey(x); else if (detectedKey == Pooh) { PoohMessageNumber = (integer)llFrand((float)llGetListLength(PoohMessage)); llSay(0, llGetDisplayName(llDetectedKey(0)) + llList2String(PoohMessage,PoohMessageNumber)); } else { messageNumber = (integer)llFrand((float)llGetListLength(message)); llSay(0, llGetDisplayName(llDetectedKey(0)) + llList2String(message,messageNumber)); } } } }
  6. *****BATISTA'S GETAWAY RESORT IS HIRING***** Are you looking for a fun way to earn lindens? Are you interested in role play in SL? We pay fair salary as well as bonuses for awesome employees! Then we want to hear from you! We are looking for event staff and servers, if interested follow the link below to fill out an application. We look forward to hearing from you. Website: https://slbatistas.wixsite.com/resort Application: https://goo.gl/forms/YWsil7I7xSD3J3Kl1
  7. If interested in roleplaying, fill out an application below for Batista's Getaway Resort. Job Application: https://goo.gl/forms/YWsil7I7xSD3J3Kl1 Website: https://slbatistas.wixsite.com/resort
  8. If interested in roleplaying, fill out an application below for Batista's Getaway Resort. Job Application: https://goo.gl/forms/YWsil7I7xSD3J3Kl1 Website: https://slbatistas.wixsite.com/resort
  9. If interested in roleplaying, fill out an application below for Batista's Getaway Resort. Job Application: https://goo.gl/forms/YWsil7I7xSD3J3Kl1 Website: https://slbatistas.wixsite.com/resort
  10. If you're interested in roleplaying, fill out an application at Batista's Resort Getaway Job Application: https://goo.gl/forms/YWsil7I7xSD3J3Kl1 Website: https://slbatistas.wixsite.com/resort
  11. *****BATISTA'S GETAWAY RESORT IS HIRING***** Are you looking for a fun way to earn lindens? Are you interested in role play in SL? Then we want to hear from you! We are looking for event staff and servers, if interested follow the link below to fill out an application. We look forward to hearing from you. Website: https://slbatistas.wixsite.com/resort Application: https://goo.gl/forms/YWsil7I7xSD3J3Kl1
×
×
  • Create New...