 |
SLMC Second LifeŽ Music Community Forum
|
| View previous topic :: View next topic |
| Author |
Message |
EvaMoon

Joined: 30 Nov 2007 Posts: 748
|
Posted: Sat Sep 20, 2008 9:37 pm Post subject: Scripts! Arrrgh! |
|
|
It SEEMS straightforward. I found (and have been using) a group join script. Now I want to put it in something else. But it won't set right. Here is the script:
//To find your groupkey use the new search and search for your groupsname. Scroll down to the bottom. You will find a grey link there. Copy the part with all thos numbers. Mark it with the mouse and press ctrl + C to copy. Go with the mouse between the "" after string Groupkey= an delete anything between the "". Prss ctrl + v to insert your group id.
string GroupKey = "af8465e7-1e85-866a-8aff-fb9c1d8da0dc";
//Replace the letters between the "" after the string Groupname= and replace it with your groupname
string GroupName = "EvaMoon's Lunatics";
//Save and reset the script with the two bottuns on the reght lower side of this windows. Thats it. The Script is now ready to run
default
{
touch_start(integer total_number)
{
llInstantMessage(llDetectedKey(0),"Open history (Ctrl-H), then click the link to join EvaMoon's Lunatics" + ": secondlife:///app/group/" + GroupKey + "/about");
}
}
I've set the group string to my own group's name as you see, but the floating text over the sign refuses to change from "Click me for a group invite to Punks Finest Franchise Group"
I've saved, reset, renamed, taken, rerezzed. I really want NO floating text, but I'll settle for EvaMoon's Lunatics.
Thanks! _________________ EvaMoon Ember in SL
Eva Moon & the Lunatics
Musical mischief after dark
http://evamoon.net
Calendar: http://evamoon.net/sl
http://www.thesixtyone.com/evamoon
Lunatalk Blog: http://evamoon.net/blog |
|
| Back to top |
|
 |
Grace

Joined: 14 Sep 2007 Posts: 40 Location: Atlanta, GA
|
Posted: Sat Sep 20, 2008 10:57 pm Post subject: |
|
|
I copied that script, put it in a clean prim and it works fine. Do you have another script set on the existing object that is creating the floating text?
I dropped the object that I tested on you in world. If you want floating text, that's easy enough to add. _________________ I'm 1/2 music http://grace.weebly.com and 1/2 perspectives http://phasinggrace.blogspot.com
Yeah, I am a hick. I am naive, and I am sincere and it's wonderfully unfashionable. - M Shocked |
|
| Back to top |
|
 |
Toby Lancaster

Joined: 23 Oct 2007 Posts: 105 Location: UK
|
Posted: Sun Sep 21, 2008 7:22 am Post subject: |
|
|
Unlike other things, floating text is a property of the prim, and not dependant on a script. However, you do use a script to set it.
If you want to remove the floating text, add the following line to the script on a new line after the llInstantMessage line:
llSetText("", <1.0, 1.0, 1.0>, 1.0);
This sets the floating text to nothing. If you want text, put something between the quotes. When you're happy with it you can (if you like) remove it from the script as it only needs to run once. Alternatively comment the line out (//) and re-save the script.
Toby _________________ http://dividebyzero.bandcamp.com/
http://dividebyzero.weebly.com/ |
|
| Back to top |
|
 |
EvaMoon

Joined: 30 Nov 2007 Posts: 748
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|