LlGetPrice

From Second Life Wiki

Second Life Wiki > LlGetPrice
Jump to: navigation, search

Template:Needs Translation/LSL/de Template:Needs Translation/LSL/es Template:Needs Translation/LSL/el Template:Needs Translation/LSL/fr Template:Needs Translation/LSL/he Template:Needs Translation/LSL/it Template:Needs Translation/LSL/ja Template:Needs Translation/LSL/ko Template:Needs Translation/LSL/nl Template:Needs Translation/LSL/hu Template:Needs Translation/LSL/no Template:Needs Translation/LSL/da Template:Needs Translation/LSL/sv Template:Needs Translation/LSL/tr Template:Needs Translation/LSL/pl Template:Needs Translation/LSL/pt Template:Needs Translation/LSL/ru Template:Needs Translation/LSL/uk Template:Needs Translation/LSL/zh-Hans Template:Needs Translation/LSL/zh-Hant

Image:Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Contents

Summary

Function: integer llGetPrice( );
REQUEST Function ID
0.1 Delay
0.0 Energy

Returns price of the object that the script resides in or -1 if it's not for sale.
Returns an integer

Caveats

  • This function causes the script to sleep for 0.1 seconds.

Search JIRA for related Bugs

Examples

integer price = llGetPrice();

Notes

This would greatly simplify vendors and also be useful for split-profit and varous types of sale-data scripts.

Deep Notes

In other languages