Querying the stash

razorboy

Member
Hey guys,
I want to query and see what's in the clan stash, but it seems like all I can do is take/put/or check amount of a single item.

Is there a way to output *everything* that's in the clan stash? (I know there's a "refresh stash" function, where does that data go?)

Thanks!
 

slyz

Developer
You can create an alias that does exactly that:
Code:
alias showstash => ashq refresh_stash(); foreach it in $items[] if ( it.stash_amount() > 0 ) print( it + " ( " + it.stash_amount() + " )" );

Here an easier to read version:
PHP:
refresh_stash();
foreach it in $items[]
	if ( it.stash_amount() > 0 )
		print( it + " ( " + it.stash_amount() + " )" );
 
Top