Added parameter support to doing console commands through lua.