Code:
if arg 1 is "deposit":
loop all items in player's inventory:
if player has arg-2 of mob spawner in his inventory:
add arg-2 to {spawner.%player%}
remove arg-2 of mob spawner from player's inventory
send "&6&lHydopia&c&lAMS &8» &7You deposited &e%arg-2%&b Spawners&8."
stop
hey why doesnt work that? Im trying to fix right now, that you need to have the amount of spawners in your inventory, which you wanna deposit to your virtual spawners