I am trying to make a script that will automatically reconnect me to a server

Ask gaming related questions (AHK v1.1 and older)
FROST
Posts: 1
Joined: 16 Nov 2017, 14:00

I am trying to make a script that will automatically reconnect me to a server

16 Nov 2017, 14:25

I am trying to make a script that will automatically reconnect me to my Garry's Mod server by typing "retry" in console ever 2 hours. So far I have only been able to get it to open the chat box and type "etry". Any help would be appreciated I am very new to autohotkey.

The key to open the console is `

This is my current script

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

#Persistent
SetTimer, PressTheKey, 18000
Return

PressTheKey:
Send,` retry {enter}
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 90 guests