How to make a command line with logic bricks 2.73

Making a command line with logic bricks for your games this could be use for spawning objects in or activating events in game