Jump to content

DJTwist Composer

Resident
  • Posts

    7
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

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

  1. B.E.D ( BODIES ENJOY DANCE) WE ARE A HOUSE MUSIC CLUB THAT PROVIDE ENTERTAINMENT FOR A BIG SL FOLLOWING. IF U ARE LOOKING FOR A JOB IN ANY OF THE THREE FIELDS PLEASE CONTACT ME . FEEL FREE TO COME HAVE A LOOK :-) BED (196,107,35) THANK U DJTwist Composer
  2. and that did not even look like it http://forums-archive.secondlife.com/15/73/160510/1.html that is the script i cant get right but i have found the problem with a few scripts i am new to this and maybe in a few years i wont ask silly questions lol but it is sooo fustrating
  3. // This program is free software; you can redistribute it and/or// modify it under the terms of the GNU General Public License// as published by the Free Software Foundation; either version 2// of the License, or (at your option) any later version.// // This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.//// © 2007 Abba Thiebaud>SecondLifer // Please remember, I do not offer support for this script; your use of // this script is your acknowledgement and agreement to the above // terms.// // DO NOT REMOVE THE ABOVE HEADER FOR ANY REASON WHATSOEVER.// Window Controller Script (put into controller prim)list TINT_OPTIONS = ["40%", "20%", "None", "100%", "80%", "60%"];list WALL_OPTIONS = ["Lower Front", "Lower Back", "Lower Sides", "Upper Front", "Upper Back", "Upper Sides", "Ceiling", "All"];integer UPPER_FRONT = -28394;integer LOWER_FRONT = -28395;integer UPPER_BACK = -28396;integer LOWER_BACK = -28397;integer UPPER_SIDE = -28398;integer LOWER_SIDE = -28399;integer CEILING = -28400;integer CHANNEL = -28393;integer wallChannel;integer allWalls;PaintAllWalls(string tintLevel){ integer i; integer j; j = -28394; for (i = 0; i < 7; i++) { llSay(j, tintLevel); j--; } // end for} // end PaintAllWalls default { state_entry() { llListen(CHANNEL, "", NULL_KEY, ""); // listen for dialog answers (from multiple users) } // end state_entry() touch_start(integer total_number) { llDialog(llDetectedKey(0), "Which wall would you like to tint?", WALL_OPTIONS, CHANNEL); // present dialog on click allWalls = 0; } // end touch_start() listen(integer channel, string name, key id, string message) { if (llListFindList(TINT_OPTIONS + WALL_OPTIONS, [message]) != -1) // verify dialog choice { if (message == "Upper Front") { llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL); wallChannel = UPPER_FRONT; } else if (message == "Upper Back") { llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL); wallChannel = UPPER_BACK; } else if (message == "Upper Sides") { llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL); wallChannel = UPPER_SIDE; } else if (message == "Lower Front") { llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL); wallChannel = LOWER_FRONT; } else if (message == "Lower Back") { llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL); wallChannel = LOWER_BACK; } else if (message == "Lower Sides") { llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL); wallChannel = LOWER_SIDE; } else if (message == "Ceiling") { llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL); wallChannel = CEILING; } else if(message == "All") { llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL); allWalls = 1; } if (message == "100%") { if(allWalls == 1) { PaintAllWalls("100"); } else { llSay(wallChannel, "100"); } } else if (message == "80%") { if(allWalls == 1) { PaintAllWalls("80"); } else { llSay(wallChannel, "80"); } } else if (message == "60%") { if(allWalls == 1) { PaintAllWalls("60"); } else { llSay(wallChannel, "60"); } } else if (message == "40%") { if(allWalls == 1) { PaintAllWalls("40"); } else { llSay(wallChannel, "40"); } } else if (message == "20%") { if(allWalls == 1) { PaintAllWalls("20"); } else { llSay(wallChannel, "20"); } } else if (message == "None") { if(allWalls == 1) { PaintAllWalls("0"); } else { llSay(wallChannel, "0"); } } } // end if (valid message) } // end listen} // end default
  4. Rolig i can copy one script and open a new script in object and paste it in there and it worked. but most times when i do that i get text error, the numbers on the left in the script dissapears for some reason. and i have no idea how to drag the script from library to second life as my second life window wont pop back when i try to drag it. lol
  5. i tried to just drag the script but the winsow wont change back to second life. i am sooo lost here now lol
  6. Hello all. i tried to paste a script from library to my object in sl but when i create script and paste it in there it wont save. i am really a noob at this but am trying to learn to build and want to put some scripts in windows and doors. Any advice would really be appreciated.
×
×
  • Create New...