goto command

Ask gaming related questions
karlb1
Posts: 6
Joined: 17 Aug 2017, 08:53

goto command

17 Aug 2017, 09:03

Hi im very new to this trying to get my head around it all
i have a code to login in to my game however once you start the complied scrip it goes through the process very quickly.

what i need to do is before it goes to login i need it to check if "ctrl z" have been pressed and then it needs to go to "main" which is an alternative login further on in the script, if if "ctrl z" not presses continue with script

this is what i wrote so far but i get error message

If GetKeyState "ctrl", "z" Goto, MAIN


this would go to
MAIN:


please help thanks
neomulemi6
Posts: 216
Joined: 30 Jun 2016, 06:01

Re: goto command

17 Aug 2017, 22:52

^z::Goto, Main ?

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 15 guests