ID:260339
 
I'm thinking maybe it would be kinda cool if you could maybe either have the ability to clear the textbox and/or remove lines from it. This may not be a major need, but a small thing like this could possibly up proffesionalism in games. For instance, when you finish talking to a npc, it would show in the textbox so the player can read it, but be deleted later so they can't go back and look at it(the player heard it, not neccessaily took note of it)..Now that I think about it, it could also possibly have an impact on game moderation..For whatever purpose, a GM could just delete what someone said from the textbox to prevent others from reading it.
Probably more trouble than it's worth right now. 4.0 gives you full control over how and where output is done, so I'd imagine you could do something like this.
Well, you can already clear it, of course.
proc/clear_textbox(X)
if(!istype(X,/mob) && !istype(X,/client))
return 0
X << "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" //only this line should be MUCH much longer than that.
return 1
In response to Kaioken
200 iterations of \n, actually. I've tried this, and the only problem is that the text area doesn't produce the whole string at once, so you kind of flood the text box rather than fill it immediately.
you can use HTML popups. you can make them disappear via code and the messages don't interfere with the game's chat or other messages.
In response to Popisfizzy
It definitely would be worse if they're actual "iterations", as in outputting a single newline on a loop constantly, outputting tons of newlines at once probably has that effect to a lesser extent.
And for me it takes ~300 newlines to clear it.
Mecha Destroyer JD wrote:
[...] a small thing like this could possibly up proffesionalism in games [...]

Yeah! Proffesionalism! ;)
In response to Polatrite
Polatrite wrote:
Mecha Destroyer JD wrote:
[...] a small thing like this could possibly up proffesionalism in games [...]

Yeah! Proffesionalism! ;)

Don't you hate it when you're a good speller but uh forget how to spell words you hadn't used in a while? I seriously forgot how to spell their..Just looked weird to me..Anyways, I coulda swore I put one f as I was debating the proper way to spell it..0_0
In response to Mecha Destroyer JD
You forgot an 's'... professionalism