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

From Second Life Wiki
Jump to navigation Jump to search
Line 17: Line 17:
To get a copy of the GNU General Public License, see <http://www.gnu.org/licenses/>.}}
To get a copy of the GNU General Public License, see <http://www.gnu.org/licenses/>.}}
{{box|Pay Script for Reseller vendor|
{{box|Pay Script for Reseller vendor|
Place this script in a Vendor Root prim you've created.}}
Place this script in a Vendor Root prim you've created.<br><br>
What it does:
What it does:
# it asks the owner of the vendor to rezz the update box.
# it asks the owner of the vendor to rezz the update box.
Line 26: Line 26:


Purchase:
Purchase:
# buyer can pay only the amount of money that is set in "integer gCorrectAmount = price;"
# buyer can pay only the amount of money that is set in "integer gCorrectAmount"
# when buyer pays money, the vendor will send email to server prim with buyers ID in subject line and its own email address in message content.
# when buyer pays money, the vendor will send email to server prim with buyers ID in subject line and its own email address in message content.
# server will give the item to buyer and sends "delivered" notification back to vendor. If the server is not working or there will be some other issues with delivery, then money will be refunded to buyer and vendor shuts down till next update.
# server will give the item to buyer and sends "delivered" notification back to vendor. If the server is not working or there will be some other issues with delivery, then money will be refunded to buyer and vendor shuts down till next update.
Line 250: Line 250:
                 state default;         
                 state default;         
             }                           
             }                           
}</lsl>
}</lsl>}}
 
{{box|Updater Script for Reseller vendor|
{{box|Updater Script for Reseller vendor|
Place this script in a box you've created.}}
Place this script in a box you've created.<br><br>
What it does:
What it does:
# when rezzed next to the vendor, it will try to update the vendors mail string.
# when rezzed next to the vendor, it will try to update the vendors mail string.
Line 300: Line 299:
                     }
                     }
             }
             }
}</lsl>
}</lsl>}}

Revision as of 14:01, 10 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