Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

227 Excellent


About Xiija

  • Rank
    Lotus Eater

Recent Profile Visitors

1,333 profile views
  1. @Quistessa ty. @Indigo Somerset your http request might look something like this, and then you just parse the body in your http_response event? streamInfo() { string stream_base = llGetParcelMusicURL(); string v1 = "7.html"; string v2_a = "index.html?sid=1"; string v2_b = "currentsong?sid=1"; http_request_id = llHTTPRequest( url7 + v2_a , [ HTTP_USER_AGENT, "LSL_Script(Mozilla Compatible)", HTTP_METHOD, "GET", HTTP_MIMETYPE, "text/html", HTTP_BODY_MAXLENGTH,16384, HTTP_PRAGM
  2. i have one, but thanks to typical SL BS, it won't work ... no idea why, i feel like i am going insane sometimes, trying to script in SL. i have this in a script. touch_start(integer total_number) { llOwnerSay("touched"); string stream_base = llGetParcelMusicURL(); llOwnerSay("base: " + stream_base); } it works undeeded, when i share / deed it, then touch, it wont work. i've tried taking it into inv, re-rez, re-deed... no luck. i have correct tag and it's shared with that group. arg?
  3. @Birdguru make sure you have no whitespace after your one line in your notecard. here is mine, working....
  4. Heya @Birdguru, here is a snippet that seems to work ?.. string msg = "Default message here!!! "; string mess; string color = "rand"; string CurrNC; key kQuery; integer from; integer x; default { state_entry() { llMessageLinked(LINK_SET, 0, "", "fw_reset"); CurrNC = llGetInventoryName(INVENTORY_NOTECARD,0); kQuery = llGetNotecardLine(CurrNC, 0); } touch_start(integer total_number) { } link_message(integer sender, integer num, string str, key id) { from = sender; if (id == "fw_ready") { llOwnerSay("FW t
  5. you could use one of the many scripts in the pinned door post, Door Scripts or try this one... ( you can change the rotation vector to fit your needs ) /* * Smooth Rotating Linked Door With Hinge * * By: Lyn Mimistrobell * Version: 1.1 * License: Do whatever you like with it, just don't blame me if you break it :) */ vector ROTATION = <0.0, 0.0, 80.0>; vector HINGE_POSITION = <-0.8, 0.05, 0.0>; integer gClosed = TRUE; // Door state: TRUE = closed, FALSE = opened rotation gRotationClosed; // Initial rotation of the door (close
  6. Xiija

    Profile Icons

    we used to be able to use icons in our profiles, is this still do-able? thanx for any...
  7. perfect, ty all so much
  8. so, I have several flags/toggles , and would like to check their state. Using code from these forums, i can type a number on channel 2 and toggle bitflags. integer ttl_Bits; default { state_entry() { llListen(2, "", llGetOwner(), ""); } listen(integer c, string n, key i, string m) { ttl_Bits = ttl_Bits ^ (1 << (integer)m); llOwnerSay( "\nBit-flag: " + m + " is toggled " + llList2String(["OFF","ON"], (ttl_Bits >> (integer)m) & 0x1) + "\nTotal of Bits: " + (string)ttl_
  9. @Chantilly Levee just don't multiply by the rezzer's rotation? touch_start(integer total_number) { string myObj = llGetInventoryName( INVENTORY_OBJECT,0 ); vector myPos = llGetPos(); vector rezPos = myPos + <2.0, 0.0, 0.2>; // or region coordinates vector rezVel = <1.0, 0.0, 0.0>; rotation rezRot = llEuler2Rot(<0.0, 0.0, 0.0> * DEG_TO_RAD ); integer param = 10; llRezAtRoot(myObj, rezPos, rezVel, rezRot, param); }
  10. A quick way to set and append data to a Sheet with Apps Scripts... Set & Append to a Sheet
  11. Xiija


  12. re: Google Apps Script to store data to a google doc, you can use an apps script. in my test, i use a GET request with 3 params... date, a message, and id the apps script will check if the id is blank, and if so it creates a new doc with the date as the title, and send that doc's id in the http response. if the SL prim gets an id, it can send it next time.. then the apps script will append to the current doc. you just need to set a timer & clear the id variable in SL on a date change. here is the Apps script to test with, if ya need the Sl bit, i
  13. re: Google Apps Scripts After some testing, i was able to do a POST thru sl only by going SL > thru repl.it > google apps script > repl.it > back to SL it seems google apps scripts use a redirect, and Sl only follows those if the request is GET.. i've got a GET apps script working, & will post it soon
  14. Not sure if you are asking for help? mebbe mention what viewer you are using, the instructions you are following, and any error messages if you are? also, mebbe not a scripting question?.. you could try here... general-second-life-tech-discussion
  15. @Toph Bailey Here is a JSON snippet for SL, in case you want to test a bit, just drop it in a box, click the box, then type.. /99 test ... in local chat . it shows a key with multiple values etc... addReminder( string name , string dateTime, string text ) { if (llJsonGetValue ( Reminders, [name] ) == JSON_INVALID) // if there is not a JSON key-value pair in the JSON object, add one { Reminders = llJsonSetValue ( Reminders, [name, "Date_Time"], dateTime); Reminders = llJsonSetValue ( Reminders, [name, "Reminder_Text"], text);
  • Create New...