Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Need help w/ a Radio script

Shaden Sura
Registered User
Join date: 10 Oct 2006
Posts: 68
08-19-2007 19:54
Hi I am trying to make a radio but when I set the script for change channel in ther radio dont work when I try to set the stations this the script I am use

default
{
state_entry()
{
llListen(49, "", NULL_KEY, "";);

}

listen(integer channel, string name, key id, string message)
{
if (message == "1";)
{
llSetParcelMusicURL("http://207.200.96.232:8006";);
llSay(0, "Changed to channel 1";);
}

if (message == "2";)
{
llSetParcelMusicURL("http://80.237.209.49:8000";);
llSay(0, "Changed to channel 2";);
}

if (message == "3";)
{
llSetParcelMusicURL("http://160.79.128.242:8066";);
llSay(0, "Changed to channel 3";);
}

if (message == "4";)
{
llSetParcelMusicURL("http://scfire-nyk0l-2.stream.aol.com:80/stream/1065";);
llSay(0, "Changed to channel 4";);
}

}

}

if can some1 help me or have better script that work I'll thx any help I can get
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
08-19-2007 20:50
If the land is group-owned, is the object containing this script deeded to that group?
Shaden Sura
Registered User
Join date: 10 Oct 2006
Posts: 68
08-19-2007 21:03
yea is group owned, and the scrip is for change the mucis inthe parcel where I am
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
08-20-2007 04:29
on group owned land, you have to deed the object (means - the radio) to the group - otherwise it won't work...
Problem is, that once the object is deeded to the group, you can't change it anymore - so be sure to keep a copy of the non-deeded object :)