logout script using Cport? Topic is solved

Ask gaming related questions (AHK v1.1 and older)
kentpachi
Posts: 152
Joined: 15 May 2016, 01:23

logout script using Cport?

Post by kentpachi » 27 Dec 2023, 22:22

how to make a game logout using Cport.exe?


I made a script that in a specific loop action, at the end of the script i want to execute the cport to logout a game


there was a script called lutbot and i tried to copy the line of code the execute it but it wont work.

how to simplify execute it?

Example of the code but doesnt work and there is not error in running the ahk script too.


6::
cportsCommand := "cports.exe /close * * * * PathOfExile_x64Steam.exe"
executable := "PathOfExile_x64Steam.exe"
return


I was hoping to test it that if i press 6, it will execute the script but it doesnt work

User avatar
mikeyww
Posts: 27372
Joined: 09 Sep 2014, 18:38

Re: logout script using Cport?  Topic is solved

Post by mikeyww » 30 Dec 2023, 06:06

Hello,

If the idea is to run a command line, I would add :arrow: Run. Your current script just sets variables.

Post Reply

Return to “Gaming Help (v1)”