Updated /inv command (fixes #192)