It works for AC items that don't use ACs to obtain (like the dragonfire of nulgath or tendurrr the assistant) so al you need to do is obtain those items once and after that just use the buyback function.
It DOES NOT work for miscellaneous items (like Uni 13)