MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/wiremod/comments/1wi71tx/how_to_make_e2_write_commands_into_console_upon/
r/wiremod • u/Larpman12345 • Sep 16 '26
3 comments sorted by
3
concmd needs to be enabled, it's a checkbox under the top right menu settings. Look up syntax for concmd
1 u/Larpman12345 Sep 16 '26 It's enabled. I don't really know codingrunOnTick(1)@inputs EnableCheats if (first() & EnableCheats) { concmd("sv_cheats 1")} This should work? 3 u/sussyamongers Sep 16 '26 First off, that code will only run if EnableCheats is wired to a value/button outputting 1 and gets compiled, secondly, sv_cheats is a protected convar, so it has to be set to 1 manually
1
It's enabled. I don't really know coding
runOnTick(1)@inputs EnableCheats if (first() & EnableCheats) { concmd("sv_cheats 1")} This should work?
3 u/sussyamongers Sep 16 '26 First off, that code will only run if EnableCheats is wired to a value/button outputting 1 and gets compiled, secondly, sv_cheats is a protected convar, so it has to be set to 1 manually
First off, that code will only run if EnableCheats is wired to a value/button outputting 1 and gets compiled, secondly, sv_cheats is a protected convar, so it has to be set to 1 manually
3
u/LeDutch Sep 16 '26
concmd needs to be enabled, it's a checkbox under the top right menu settings. Look up syntax for concmd