Re: Pop-up to request that people not sell your custom fish
Posted:
02 Jan 2009, 07:59
by LittleHelper Eichel
I searched a little bit in the LSL Editor 1.0 Help:
This script says it when the Object is attached and deattached:
default
{
attach(key attached)
{
if (attached != NULL_KEY) // object has been //attached//
{
llSay( 0, "Hello " + llKey2Name(attached) + "!\nTerms of Use: This fish is not for resale, only to trade or give away! Contact the creator, Mayli Nirpaw, if you spot someone selling these." );
// etc.
}
else // object has been detached
{
llSay( 0, "Terms of Use: This fish is not for resale, only to trade or give away! Contact the creator, Mayli Nirpaw, if you spot someone selling these." );
// etc.
}
}
}
and this script when rezzed:
default
{ on_rez(integer start_param)
{
llSay( 0, "Terms of Use: This fish is not for resale, only to trade or give away! Contact the creator, Mayli Nirpaw, if you spot someone selling these." );
}
}
If you want the script to whisper it only to the person that rezzes or wears the item just change llSay to llWhisper.
If you want really anyone around in 98m to hear it you can change it to shouting too: llShout
Greetz
LH
Re: Pop-up to request that people not sell your custom fish
Posted:
02 Jan 2009, 08:45
by Seven Shikami
Two recommendations.
One, put those Says into the OpenFish script, don't add a second script. Less system performance issues adding a whole new script when you could just modify an existing one.
Second, use llOwnerSay("blahblah") instead of llSay or (ye gads!) llShout. There's no need to spam everybody within 20m with your copyright notice, much less everybody within 100m!
Re: Pop-up to request that people not sell your custom fish
Posted:
03 Jan 2009, 05:10
by Kabalyero Kidd
What I did is, I put placed some of my customs in a box and added a Terms of Use notecard. Having to read a message everytime something is worn is kinda annoying to me and could also be annoying to some.