help !

Ask gaming related questions
bryantan179
Posts: 35
Joined: 29 Mar 2017, 01:55
Facebook: https://www.facebook.com/bry4nt4n

help !

21 Apr 2017, 02:04

i want the $*Enter::Suspend part to works as a normal enter key and also to disable the script.for example if i wan to send a message to my team in a game i click enter and it should allow me to type my message and at the same type pause the script from functioning so that when im typing , the script will not interfere with my message.after that i click enter to send the message in game and the macro continues to function normally

#Persistent
SetTimer, F7, 1000
Return

F7:
Send, {0}
Sleep 100
Send, {9}
Sleep 100
Send, {8}
Sleep 100
Send, {7}
Sleep 100
Send, {6}
Sleep 100
Send, {5}
Sleep 100
Send, {4}
Sleep 100
Send, {3}
Sleep 100
Send, {2}
Sleep 100

Return

$*Enter::Suspend
TheDewd
Posts: 768
Joined: 19 Dec 2013, 11:16
Location: USA

Re: help !

21 Apr 2017, 07:41

Code: [Select all] [Expand] [Download] (Untitled.ahk)GeSHi © Codebox Plus

bryantan179
Posts: 35
Joined: 29 Mar 2017, 01:55
Facebook: https://www.facebook.com/bry4nt4n

Re: help !

21 Apr 2017, 10:03

what about this ?

$b::
Loop, 1
{
if If !GetKeyState("b", "p")
break
Send {5}
Send {Space}
Send {F down}
Sleep 10
Send {Space down}
Sleep 10
Send {F Up}
Sleep 10
Send {Space Up}
Sleep 10
}
if GetKeyState("b","P")
Send {Click Right Down}
else
Send {Click Right Up}
return


$*Ins::Suspend

Return to “Gaming”

Who is online

Users browsing this forum: Bing [Bot] and 8 guests