Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Music Simple_Music_Stream_changer_by_Gatt  

Simple_Music_Stream_changer_by_Gatt

Simple Music Stream changer by Gattz Gilman.lsl

Category: Music
By : Gattz Gilman
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Simple_Music_Stream_changer_by_Gatt
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Simple_Music_Stream_changer_by_Gatt_1.lsl
1
2 //Simple Music Stream changer by Gattz Gilman
3
4 //It real simple, you click on it, then say the url in chat.
5
6 //Put the script into an object. The object must belong to the owner of the land, but anyone can change the stream.
7
8
9
10
11 key per; //key of person who clicked
12 integer lis;
13 default
14 {
15 on_rez(integer start_param) { llResetScript();
16 }
17 touch_start(integer total_number)
18 {
19 per = llDetectedKey(0);
20 lis = llListen(0,"",per,"");
21 llSay(0, llKey2Name(per) + ", please enter the url through chat.");
22 }
23 listen(integer channel,string name, key id, string message)
24 {
25 llSetParcelMusicURL(message);
26 llSay(0,"Parcel URL set to: " + message);
27 llListenRemove(lis);
28 }
29 }
30
31 // END //

Back to the Best Free Tools in Second Life and OpenSim.