r/Tf2Scripts • u/Friendly-Grape-8878 • 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
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.
0
u/[deleted] Sep 10 '22
I feel like I have to clear this up.
1 It doesnt need mastercomfig.
2. 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)
3. doesnt work on some community servers
4. 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"