I'm playing on iOS, and I need some help with commands. I'm trying to give mobs that I spawn custom names. I have tried the following:
/summon villager ~ ~ ~ {CustomName:"Dr.Tray"}
The error message I got was "Invalid Command Syntax"
If you know the correct way to do this, Please do not hesitate to tell me!