Is it possible to GIVE an item to a player an in the process, change the name, hue, etc?

I know you can SPAWN them like that on the spawner (or add them to packs of mobs), but I'm having a hard time finding the proper syntax. I tried:

GIVE/itemtype/Name/name/Hue/#

But that doesn't seem to work. It gives me the original base itemtype.
 
Visam is correct, you have to include the <> to enclose the item you want to set specific properties on. Using <> you can string together as many custom properties on as many items as you want. If you GIVE something, and that item is what you're using to prevent an Xmlspawner from triggering (NoTriggerOnCarried: Steel Toothpick, ThinLongSword), the Xmlspawner will stop triggering as soon as that item is in the player's backpack. So if you set up Xmlspawners in such a manner, make sure GIVE is the last thing that happens (unless you are using SETONTHIS/DoReset/True, in which case that would be last, and GIVE would be just above it in the same group).
 
Back