That's a generic command, but shows you basically how to create an object with a user specified name, you can also try reading the documentation, with that to help you, you should be able to work something out.
command <make #new-object[userid]#> {
create object <#new-object[userid]#$rand(1;9999)$; #quest.currentroom[userid]#>
msg <You created a #new-object[userid]#.|n>
}