Edit :
This works
{
"command": "sm_weapon \"{clientName}\" weapon_flashbang",
"teams": [2, 3]
}
with this
https://forums.alliedmods.net/showthread.php?t=195476
For CS:GO - I'm sorry for the trouble. Just in case someone else might be wondering what an example using this with weapons or etc.
My question is does the type have to be commanditem ? The reason I ask is because the filtering doesn't filter in the store webpanel by the categories, it seems to be using the type