Ok, here's the problem.
I can't for the life of me figure out how to get this to work:
create (object.alias + "_container")
container = object.alias + "_container"
Basically, what this is trying to do is create a new object with the alias of an object, say 'spoon', with a prefix, '_container' (spoon_container) and then set the attribute 'container' to the new object, spoon_container.
However, this doesn't work, because there's no possible way of retrieving the new object's name in a script. Unless I'm just not seeing it?...
Oh, and I also tried this:
create ("_container")
container = _container
_container.name = object.alias + _container.name
This just popped up with an error reading 'Error running script: Cannot change name of element when not in Edit mode'...
I deem this error pointless.
I mean, I just don't understand the purpose of this. If I want to change the name instead of the alias (because using an alias would make it impossible as well) then why should I be denied that right?
Of course, I'm just rambling, though.