Lua Command - Get game version
Posted: Mon Apr 28, 2025 7:33 pm
I'm using RCON to programmatically get commands into the game. Working splendidly so far. I stumbled across a minor issue and don't know Lua well enough to solve it. If I want to get the output of or some other slash command sent to the RCON output, how can I do that? What I'd like is something similar to: but that doesn't work, obviously.
Code: Select all
/version
Code: Select all
rcon.print(/version)