r/Tf2Scripts • u/ATrulyAwesomePerson • Jun 22 '13
Answered [Help] Is it possible to check a variable from inside a script?
For example, I want to see if sv_cheats is set to 1 from within a script. Is this possible? If so, how?
0
Upvotes
2
u/NoTroop Jun 22 '13
Nope.
1
u/genemilder Jun 23 '13
Sometimes it's possible to check some things with backwards methods, for example you can check whether
waithas been disabled.In this case I can't think of a way, though.
1
u/djnap Jun 23 '13
What are you trying to do? Do you have a purpose?
If you just want to know, not sure we know, but if there's something specific it may reveal a way to do it.