How to send an rcon to a given ip aswell as the command?
Moderator: DosItHelp
-
- Posts: 54
- Joined: 10 Nov 2011 20:40
How to send an rcon to a given ip aswell as the command?
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?
-
- Expert
- Posts: 442
- Joined: 01 Aug 2010 17:13
- Location: Canadian Pacific
- Contact:
-
- Posts: 54
- Joined: 10 Nov 2011 20:40
Re: How to send an rcon to a given ip aswell as the command?
Thanks a bunch!
-
- Posts: 54
- Joined: 10 Nov 2011 20:40
Re: How to send an rcon to a given ip aswell as the command?
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.
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.