ID:162977
 
I seem to be missing how to add the default chat interface, where the (usr << "TEXT") stuff gets sent to, and the small little chat box that outputs things to that window.

Also, the chat window shows the > Say" and all that on it depending on the command, could also be Wsay" and stuff, how do i make a thing to act in this default manner? i cant seem to find it.
In the dmf editor (if you double-click the default.dmf file, it'll open it up) make sure that each input and output boxes have the "default" parameter checked.

~X
In response to Xooxer
default sets it to do everything it would do by default in the original 3.5 layout?
In response to FallingLegend
For input and output, basically yeah. If you set the output control to be the default, all the text you output to the user in the old version will work:

        usr << "Hello player!"


And the input control will perform normal auto-completion when set to default. It's this way so that the 4.0 interface doesn't break existing 3.5 and older games. Otherwise, everything before 4.0 would no longer be playable, since many relied on these default actions to work.

~X
In response to Xooxer
--Private messages i want to hold unlimited messages.
Private messages need to be able to delete different lines of text, even if two lines are the same, it deletes only that line.

And the default window, i want to hold only like 20 messages.
Also, the default window needs a button that clears ALL messages.

--Also, in both cases, i need it to have a scrollbar - i want the scrollbar to appear before the messages go over the top, meaning there is a scrollbar, which cant scroll at the start of the game, even if you cant scroll.

--Can someone help me with this?
In response to FallingLegend
max-lines parameter.