Take stash: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
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 25: Line 24:
cli_equiv=The CLI command "stash" with the parameter "take" works similarly.
cli_equiv=The CLI command "stash" with the parameter "take" works similarly.
}}
}}
[[Category:Item Management]]

Latest revision as of 22:03, 21 May 2010

needs(code_samples);

Function Syntax

boolean take_stash(int qty ,item it )

  • qty is the quantity to move
  • it is the item to move

Attempts to move qty of it from your clan stash to your main inventory. Returns true if the move succeeds and false if it does not.

CLI Equivalent

The CLI command "stash" with the parameter "take" works similarly.

See Also

put_stash() | refresh_stash() | stash_amount() | take_closet() | take_display() | take_storage()