Help!!! Need to Complete GUI error!!!

Hi, Can ne body plz tell me a code in java script to reflect all my guitext lines to be displayed in my GUI area?? Like in to accept all incoming text from the game and show it like a onboard dislplay for instance like a PDA??

Thanks in Advance!

P.S:- i am a newb and i love to learn more!! :)

Here is a simple example how can you use the `GUILayout` and display a text.

function OnGUI() {
    GUILayout.BeginArea(Rect(128, 128, 256, 256));
    GUILayout.Box("Foo");
    GUILayout.Label("Bar");
    GUILayout.TextArea("Hello, world!");
    if (GUILayout.Button("Awesome")) {
        //Do something awesome!
    }
    GUILayout.EndArea();
}

If you love learning more, just go through GUI Scripting Guide . It will help you a lot.