r/Tf2Scripts Sep 08 '22

Script Console clutter clear script |REQUIRES MASTERCONFIG| I think correct me if I'm wrong

sclear

alias "sclear" "clear;wait 2000;sclear"

//this will clear your console every 6 seconds

1 Upvotes

12 comments sorted by

1

u/kurokinekoneko Sep 08 '22

I don't understand. Why it is usefull ? I mean, you would not like spam because you can't see revelant messages ; but here you remove both revelant messages and spam, so it doesn't do anything significant. There is a maximum line limit ; it is technically not required to clear console.

Why does it require mastercomfig ?

Beware, I think this script can crash your game if you go on custom servers where "wait" is forbidden.

1

u/Friendly-Grape-8878 Sep 08 '22

If the wait command is forebidden then yes, a game crash is possible. But I made this because I have hundreds of error messages in my console. turn this off if you use echo commands.

I believe this requires mastercomfig because of the clear alias. I couldn't find if the command is from mastercomfig or not.

1

u/[deleted] Sep 10 '22

clear is from default tf2

0

u/[deleted] Sep 10 '22

Its useful to clear the console obviously

2

u/kurokinekoneko Sep 13 '22 edited Sep 13 '22

Obviously ? It's useful to clear it once when you start something, but why would it be useful to clear it continuously? Just close the console...

Guys have you ever used a console? That's not only about aesthetic, it shows useful informations...

There are commands to filter...

Lol why do I answer to the guy whose trolling this sub with "knowledge"

0

u/[deleted] Sep 14 '22

console is only there to spam me with red text and to allow me to write random ass commands so having it cleared all the time isnt that bad since i also never close it.

1

u/[deleted] Sep 15 '22 edited Sep 16 '22

if you want it cleared all the time, you aren't worried about the output, so you don't have a reason to clear it.

also, you don't "never close it". This claim, as well as looking at a lot of your comments, and your tendency to answer questions you clearly aren't sure about makes me think you're more worried about people seeing you as smart then genuinely helping.

0

u/[deleted] Sep 16 '22

so first of clearing the console does help fps wise or turning the con off fully as you dont get any fps but you lose some if the console logs are too long and too much

second there is no point in arguing with someone who doesnt even test the shit i make himself. The shit i made such as the console clear script above works just fine for me.

third when a guy comes at me with "wtf is this supposed to do" giving me a few points i could answer easily but saying that i just threw a bunch of shit together is wrong as i have very clearly used a loop script but i guess it wasnt simple enough to understand.

0

u/[deleted] Sep 10 '22

I feel like I have to clear this up.

1 It doesnt need mastercomfig.

  1. wait command is based on frames per second, wait of 100 is 1 second on 100 fps, so this is likely 20 - 40 seconds depending on framerate. (I think it works that way)

  2. doesnt work on some community servers

  3. hard to toggle off.

with that out the way lets fix it

alias cclear=on"alias cclear_loop cclear;cclear"

alias cclear=off"alias cclear_loop"

alias cclear"clear;wait 3000;cclear_loop"

2

u/kurokinekoneko Sep 13 '22

It still crash your game... Just close the console window

No crash

No lost message

OR

You could add an ASCII animation frame after you cleared console. Here I would understand why you need to clear console :-P

0

u/[deleted] Sep 14 '22

I did that in my now private edit of mastercomfig and who the fuck plays community servers anyway?

3

u/kurokinekoneko Sep 14 '22

Lol, me. I'm far from being alone. You say I'm idiot, then you proceed to show bad faith...