Need help with javascript .
I have three lists and parameters included in it.
Weapons:
Pistol: usp, glock, p250Automat: ak47, m4a1, famasSnipe: awp, scout
Suppose I come from the usp server, I need to bring Pistol , comes ak47 means Automat .
How to solve?