A facile method for the synthesis of quaternary Ag-In-Zn-S alloyed nanorods.