Dvandva Message On Rez script
The Message On Rez script will send a message when the object it is in is rezzed the first time. After it sends the message the script will delete itself. Note that the script will not delete itself if the owner of the object is the creator of the object so that you can test rez your objects and see the message.
To Use;
1) Drop the messageOnRez script onto your object.
2) If you are using the group name or the group join link then edit the object and set the object to that group.
3) Edit the rezMessage notecard and modify it with your own custom message and then drop it into the
contents of the object. You will see the message that will be sent in local chat. Note that the rezMessage
notecard will be deleted.
If you don't add the notecard the default message will read:
<first name>, thank you for purchasing '<object name>'!
Click the following link to join $<group name>: <group link>
In the rezMessage notecard all lines that start with a pound sign (#) are treated as comments and ignored.
The follow substitutions will be made in the greeting:
$f - owners first name
$l - owners last name
$p - object name
$g - group name
$j - group join link
Here is an example greeting:
$f, thanks for purchasing '$p'.
To get product announcements and update notifications
you can join the $g by clicking on the following link: $j
The greeting may be up to 1024 characters with all the substitutions expanded (the group join link is 64 characters).
Each line in the greeting will be treated as a separate line in the message.
4) After the message notecard has been processed you may change the object group. You can also move the
messageOnRez script back into your inventory and reuse it without adding the notecard again - it will remember
the group and message it used when it read the last rezMessage notecard.
- Send a custom message to your customers when they rez your product
- Send a group invitation link
- Customize with first and last name, product name, & group name
- script automatically removes itself after message is sent