@samandriel ym.. it is talkaction function.. so.. can you post how you use that?
i see that "/market add, ItemName, ItemPrice, ItemCount", but show exactly what you write.
Okay, i don't have more time, so...
Good options for check Item will be.. check from slot:
Right/left hand, ammo.