Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Simple Music Stream changer

Gattz Gilman
Banned from RealLife :/
Join date: 29 Feb 2004
Posts: 316
03-08-2005 00:25
on, this is the first script that i contribute to the Script Library :).
It real simple, you click on it, then say the url in chat.

Put the script into an object. The object must belong to the owner of the land, but anyone can change the stream.

CODE
 
//Script by Gattz Gilman
key per; //key of person who clicked
integer lis;
default
{
on_rez(integer start_param)
{
llResetScript();
}

touch_start(integer total_number)
{
per = llDetectedKey(0);
lis = llListen(0,"",per,"");
llSay(0, llKey2Name(per) + ", please enter the url through chat.");
}
listen(integer channel,string name, key id, string message)
{
llSetParcelMusicURL(message);
llSay(0,"Parcel URL set to: " + message);
llListenRemove(lis);
}
}
_____________________
Vlad Pacer
Registered User
Join date: 15 Mar 2005
Posts: 8
03-31-2005 12:06
Wow.. as soon as the network is up ill have to try this .. sounds like a good one. Thank you.
Jordon Jensen
Just Me!!
Join date: 21 May 2004
Posts: 54
discussion thread
04-12-2005 14:43
ne - /54/08/42571/1.html