For the record, the way the LRS servers work is having a bot connected via the servers' admin ports, which then relays messages to all servers. The only thing the soldatserver script actually does is to WriteLn data to said bot upon a player executing the command and then parsing whatever messages it receives from the bot. You can most certainly do it with Connect() and OnReceived(), but it'd be an itsy bit more complicated.
Happy coding.