Assigns an object type to a given nickname.
If the nickname already exists, then it reassigns it to a new object type.
nick |
The nickname for the object type |
type |
The object type |
If the nick was previously assigned, the old type is returned. Otherwise, NONE. |