Difference between revisions of "User:Kristy Fanshaw/Vendor System Script"

From Second Life Wiki
Jump to navigation Jump to search
Line 319: Line 319:
}</lsl>}}
}</lsl>}}
{{box|Server Script and Mailer Script for "Server Object"|
{{box|Server Script and Mailer Script for "Server Object"|
Place these scripts into a box you've created as a server prim.<br><br>
Place these scripts into a box you've created as a server prim.<br>
Place the object you'd like to sell into this prim - only one object<br><br>
Server Script:
Server Script:
# when rezzed, it will tell you it's email address.
# when rezzed, it will tell you it's email address.
Line 360: Line 361:
             }
             }
         state_entry()
         state_entry()
             {              
             {  
                llSetObjectName(llGetInventoryName(INVENTORY_OBJECT,0));
                llSetText(llGetObjectName() + " server",<1,1,1>,1);
                 llOwnerSay("new email is: " + (string)llGetKey() + "@lsl.secondlife.com");
                 llOwnerSay("new email is: " + (string)llGetKey() + "@lsl.secondlife.com");
                 llEmail(my_address,llGetObjectName() , "my new email is: " + (string)llGetKey() + "@lsl.secondlife.com");
                 llEmail(my_address,llGetObjectName() , "my new email is: " + (string)llGetKey() + "@lsl.secondlife.com");
                 llOwnerSay("message with new address is sent to your email");
                 llOwnerSay("message with new address is sent to your email");
                 llSetTimerEvent(5.0);              
                 llSetTimerEvent(5.0);                
             }  
             }  
         timer()
         timer()

Revision as of 13:35, 12 January 2009

Copying Permission

Copyright © 2008 by Kristy Fanshaw

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

To get a copy of the GNU General Public License, see <http://www.gnu.org/licenses/>.

Pay Script for Reseller vendor

Updater Script for Reseller vendor

Server Script and Mailer Script for "Server Object"