Page 1 of 1

How to send an rcon to a given ip aswell as the command?

Posted: 20 Dec 2011 17:04
by MLGsuperGame414
I wan't the ability to give the batch file and ip then it prompts me with the rcon command I want to send which would be %N0000000000000000. Does anyone know how to go about this?

Re: How to send an rcon to a given ip aswell as the command?

Posted: 20 Dec 2011 17:43
by orange_batch

Re: How to send an rcon to a given ip aswell as the command?

Posted: 21 Dec 2011 12:10
by MLGsuperGame414
Thanks a bunch!

Re: How to send an rcon to a given ip aswell as the command?

Posted: 21 Dec 2011 12:40
by MLGsuperGame414
Okay this is as far as I have gotten.
Not sure if this even works because I cant even run it.
Hopefully someone can help i'm extremely new to batch so i'm a noob. Remember this command is going to a gaming server so I am not sure if this is even possible.

Code: Select all

@echo off
REM Test for cluster storm
:Testing:
set %ip%
set %cmd%
Echo. Enter Ip of the Server
set/ cmd=Command you wish to send to server.
set/ ip=Enter the IP of the remote server you wish to send rcon commands to.
winrs [-ip/(IP address of gaming server)[%cmd%(command I want to send)]
Echo.