This script is designed to give you a notice when your object was rezzed (maybe by your customer). I designed it because i have some sales issues and i have had problems to recieve sale notices. This script sends a custom message to a custom email adress or sends an instant message. This script is full perm but only for your own use. You are not permitted to resell this script with mod rights. I use this script in all my products to get a message when it was sold and first rezzed. the script will be deleted after first rez, but you are also able to get a message whenever the object is rezzed.
The Package contains 2 Scripts:
LD Rez Indicator - This is the messaging script you need in your object.
LD GetOwnerKey - This is just a help script to get your key. you need this key to send an IM to you. you do not need to add this to your object.
LD Rez Indicator USAGE:
-----------------------------------------------
Customize the script by changing the Constants in the header of the script. Your are able to use variables like
%time% - to add the timestamp to your message
'%itemname%' - name of the object where the script is in
%avatar% - avatar name of the (new) owner
Example for email:
CONST_EMAIL_MESSAGE ="Your item '%itemname%' rezzed %time% by '%avatar%'"
=> will create the following message:
>> Object-Name: LD Rez Indicator
>> Region: SkyBeam (219136, 296704)
>> Local-Position: (80, 101, 37)
>>
>> Your item 'BestProductInSecondlife' rezzed Fri 2/20/2009 12:26 pm by 'Langweiliger Dreier'
CONSTANTS TO CUSTOMIZE SCRIPT:
-----------------------------------------------
//AUTODELETE:
integer CONST_DELETE_SCRIPT_AFTER_FIRST_REZ=0; //1 = this script will be deleted after first rez
//EMAIL:
//This Script will send an email to the specified adress.
//Leave it blank if you don't want to send an email.
//Example CONST_EMAIL_RECIPIENT="yourmail@mail.com"
string CONST_EMAIL_RECIPIENT=""; //use the "LD GetOwnerKey" to get your key
string CONST_EMAIL_SUBJECT ="ITEM %itemname% REZZED BY %avatar%"; //Subject of Email
string CONST_EMAIL_MESSAGE ="Your item '%itemname%' rezzed %time% by '%avatar%'"; //Message of Email
//INSTANT MESSAGE:
//This Script will send an instant message to the specified adress.
//Leave it blank if you don't want to send an instant message.
//Example CONST_IM_RECIPIENT="a311ce4d-e755-f148-7999-56f289ca3f3b"
string CONST_IM_RECIPIENT=""; //Recipient Key. Use the "LD GetOwnerKey" to get your key
string CONST_IM_MESSAGE ="Your item '%itemname%' rezzed %time% by '%avatar%'"; //Message
NOTICE: This script is NO FREEWARE - YOU ARE ONLY PERMITTED TO CHANGE IT FOR YOUR OWN NEED. PLEASE DO NOT RESELL THIS SCRIPT.
Best Regards,
Langweiliger Dreier.








