Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help creating a macro!
#2
if i understood you correctly 
try this
Function StartMacroIf
Trigger 4     Help - how to add the trigger to the macro
Code:
Copy      Help
wait(5 ML); err int leftClick=1
if(leftClick =1)
,out "function will now end because no left click within 5 seconds"
,ret;;no left click end function
if(leftClick=0)
,out "starting code because left click was within 5 seconds"
,;mac "Macro9";example add code to do whatever you want since condition is true


Messages In This Thread
Need help creating a macro! - by Leeroll - 08-06-2018, 05:02 PM
RE: Need help creating a macro! - by Kevin - 08-06-2018, 05:55 PM
RE: Need help creating a macro! - by Leeroll - 08-06-2018, 06:11 PM
RE: Need help creating a macro! - by Kevin - 08-06-2018, 06:24 PM
RE: Need help creating a macro! - by Leeroll - 08-07-2018, 06:34 AM
RE: Need help creating a macro! - by Kevin - 08-07-2018, 08:33 AM
RE: Need help creating a macro! - by Leeroll - 08-07-2018, 10:38 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)