G General

Buy as Gift Script Version 1.2

Buy as Gift Script
Details
Features
Contents
Reviews

This script gives the buyer the option of sending the item as a gift to any avatar by right click - Buy Gift (usually "touch") on the vendor, as well as the usual left click - buy to buy for themselves.
Selecting Buy Gift will open a text box for them to type in the avatar name. If the entered name is not valid or they don't enter anything, the script will tell them so and reset without taking any money.

Simple setup.

1. Edit the vendor object description to be the buying price. The value must be the first numbers in the description box.
Works: 50 SaleItem
50Saleitem
50, SaleItemV1.0
Price cannot be zero. If the entry is invalid the vendor will say so, but will continue even though purchases cannot be made, so be sure to watch for messages.

2. Place the script in the vendor's inventory with the item to sell. (All items to be sold must be contained within one object within the vendor eg a box or hud)
3. Reset the scripts (reset scripts button).

Done.

Buyers can now either click to buy as normal, or right click - Buy Gift to buy as gift. You may want a sign of some style telling them that.

Any problems please feel free to contact me directly.

Changelog:

1.1 (Nov152019)
Added error message for invalid price description input.
1.2 (Nov182019)
Fixed bug with receiver name confirmation
-Changed context menu to "Buy Gift" instead of "Touch".

  • Right Click - Buy Gift to buy as gift
  • Left Click - Buy to buy for self
  • Textbox name entry, no nearby spam
  • Easy setup
Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
Great script, great customer service
full star full star full star full star full star Posted December 21, 2024 by zhutra Baby

The scripts works perfectly as intended and Natalie is also the sweetest. I asked her for a simple modification and she was able to deliver that to me. Thank you so much, I would give this more stars if I could!

Was this review helpful?
very good work and support
full star full star full star full star full star Posted January 24, 2024 by chrisjana Moyet

At first I had problems with the script, whatever it was, after a relog everything was fine again, the creator wrote to me and was immediately helpful, even if it was fine, such good service is not always the case in SL the case, unfortunately, but she was fantastic, thanks for this good work

Was this review helpful?