SLMC Forum Index SLMC
Second LifeŽ Music Community Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   Join! (free) Join! (free)
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scripts! Arrrgh!

 
Post new topic   Reply to topic    SLMC Forum Index -> Need some advice?
View previous topic :: View next topic  
Author Message
EvaMoon



Joined: 30 Nov 2007
Posts: 748

PostPosted: Sat Sep 20, 2008 9:37 pm    Post subject: Scripts! Arrrgh! Reply with quote

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
View user's profile Send private message Send e-mail
Grace



Joined: 14 Sep 2007
Posts: 40
Location: Atlanta, GA

PostPosted: Sat Sep 20, 2008 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Toby Lancaster



Joined: 23 Oct 2007
Posts: 105
Location: UK

PostPosted: Sun Sep 21, 2008 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
EvaMoon



Joined: 30 Nov 2007
Posts: 748

PostPosted: Sun Sep 21, 2008 4:22 pm    Post subject: Reply with quote

Thanks so much! That worked.

Inch by inch, I learn stuff. But I don't think building and scripting is my niche.
_________________
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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    SLMC Forum Index -> Need some advice? All times are GMT
Page 1 of 1

 
Jump to:  
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

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group