Singer Girl XOXOXOX is building venues for musical and entertainment events.
She has found a problem that I can't solve on my own.
She is using a script to let users change the parcel music.
This script works in Second Life and in Inworldz, but in Kitely (and probably other OpenSim places) it puts the url in the box for audio setting, but does not activate it.
I find that if I go to that settings box, put the focus on the line where the url is entered, and press return (enter) the url is activated and the music plays.
Here is the script (This is a slave script supported by another script named Controller)
// ZenMondo's URL Go-to-er slave by ZenMondo Wormser
// Developed for Caledon Library System
// Takes a patron to an aetheric address to read
// a book or chapter of a book.
// This script must be in the same prim as the script
// ZenMondo's URL Go-to-er master to work properly.
// This work is licensed under the Creative Commons Attribution-Noncommercial-Share
// Alike 3.0 License. To view a copy of this license, visit
// http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative
// Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
// If unmodified you must keep the filename intact
// If a derivative work you must say "Based on the CodePoetry of ZenMondo Wormser"
link_message(integer sender_num, integer num, string str, key id)
//The message and url are passed from ZenMondo's URL Go-to-er master
// Divided by a double colon (::) we split the string by dividing it
// into two list elements then extracting them as strings.
// id is the key of the patron making the request also passed from
// ZenMondo's URL Go-to-er master.
list cmds = llParseString2List(str, ["::"], );
string message = llList2String(cmds, 0);
string url = llList2String(cmds, 1);
// llLoadURL(id, message, url);
On further testing, I find a similar result from manual entry. That is, if I type in the url and do not end it with a carriage return, it is not activated and the music does not play. If I supply the cariage return, the music plays. With the manual entry, I would not normally get the problem because I am in the habit of ending a line with a carriage return.
I think a workaround might be to append a carriage return at the end of the string sent to the sumulator.
Can anyone give me advice on this?
Creating sounds and music
1 post • Page 1 of 1