efilnikufecin
Member
Being a collector of sewer items, I need a trade auto response script because it gets quite tedious calculating the response amount, and responding all the time. I also buy other items sometimes, and i want to be able to add these items to my list when I am buying them, and remove them when I am not.
The format for adding items is:
price[item] = ### where ### can be any number -1 and above.
and they should be added inside void main() before the parse_trades(); command.
setting the price for an item to -1 tells the script to cancel the offer containing the item.
not setting a price for an item, or setting it to 0 tells the script to ignore offers containing this item, and you will handle it manually.
The script only buys items, it does not trade item for item, or sell items.
I have not tested this script yet, and would like for someone to double check it for errors before I do.
Presently it should cancel any offers containing only dense meat stacks, meat stacks, or meat pastes. Items to buy have not been added yet so it should leave any other offers alone.
The format for adding items is:
price[item] = ### where ### can be any number -1 and above.
Code:
price[$item[meat paste]] = -1;
price[$item[meat stack]] = -1;
price[$item[dense meat stack]] = -1;
setting the price for an item to -1 tells the script to cancel the offer containing the item.
not setting a price for an item, or setting it to 0 tells the script to ignore offers containing this item, and you will handle it manually.
The script only buys items, it does not trade item for item, or sell items.
I have not tested this script yet, and would like for someone to double check it for errors before I do.
Presently it should cancel any offers containing only dense meat stacks, meat stacks, or meat pastes. Items to buy have not been added yet so it should leave any other offers alone.