Historical price: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
created page
 
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Item Management|


function1={{Function|
function1={{Function|
Line 23: Line 22:
cli_equiv=The CLI command "searchmall" also returns current mall prices.|
cli_equiv=The CLI command "searchmall" also returns current mall prices.|
}}
}}
[[Category:Item Management]]

Revision as of 21:49, 21 May 2010

needs(code_samples);

Function Syntax

int historical_price(item shop_for )

  • shop_for is the item to inquire on the mall price of

Returns the most recently seen mall price of the given item, following the same restrictions as mall_price(). Unlike mall_price() this function will never hit the server. To update to a more recent price you can use mall_price() (if you haven't called it for that item yet this session) or purchase some of shop_for in the mall.

CLI Equivalent

The CLI command "searchmall" also returns current mall prices.

See Also

historical_age() | mall_price()