Feature Allow CLI "stash" command to handle meat

Currently:
Code:
[COLOR="#DAA520"]> stash put 1000000 meat[/COLOR]

[COLOR="#FF0000"]Dropping     items into stash...
Transfer failed for Meat Gained:     1,000,000
Transfer failed for 1000000 meat
Movement     of items failed.[/COLOR]

It'd be awesome if this worked. Maybe there's a reason why the special-case for meat, as opposed to items, is just too much of a headache, and that's why it doesn't work already. But I'm hoping not.
 

Veracity

Developer
Staff member
You mean donate meat to the clan coffers for buying dungeons and such?

It's definitely a different URL than is used for putting in/taking out items. You can do it through the Clan Management frame. But not, currently, via a CLI command.

The "stash" command is for moving items between inventory and the "clan stash". This does not move to the "stash". It "donates" to the "clan coffers". Therefore, I'm a little leery of using the "stash" command, since it is an irrevocable donation.

Other opinions are welcome.
 

zarqon

Well-known member
I have a "stashmeat" alias which I use when donating to my clan stash for dungeon instances. A CLI command is perhaps a little risky but would still be welcome.

Code:
stashmeat => ash if (contains_text(visit_url("clan_stash.php?pwd&action=contribute&howmuch=%%"),"You contributed")) print(%%+" meat added to the stash."); else print("There was a problem adding meat to the Clan Coffer.","red");
 
Top