Search found 5 matches

by jacohawk
13 Sep 2017, 06:45
Forum: Ask For Help
Topic: Shortening if statement Topic is solved
Replies: 6
Views: 1289

Re: Shortening if statement Topic is solved

Thanks guys, it works properly :)
Where should it fine to put the Return inside?

Code: Select all

~$*NumPad1::(x = 0 ? (x := 1,ToolTip("x ON")) : (x := 0,ToolTip("x OFF")))
by jacohawk
12 Sep 2017, 17:25
Forum: Ask For Help
Topic: Shortening if statement Topic is solved
Replies: 6
Views: 1289

Shortening if statement Topic is solved

Is there a way to make this shorter?

Code: Select all

~$*NumPad1::
  if x = 0
  {
    x = 1
    ToolTip()
  }
  else
  {
    x = 0
    ToolTip()
  }
Return
Thanks :D
by jacohawk
24 Aug 2017, 15:43
Forum: Gaming
Topic: Enter a function while Right and Left button are holding Topic is solved
Replies: 2
Views: 654

Enter a function while Right and Left button are holding Topic is solved

Maybe someone can help me with something. I'm trying to make a scrit that starts a function only if and while right button (first) is holding and the left button is holding too. Something like this: ~$*RButton:: ~$*LButton:: if V_Auto = 1 { Loop { GetKeyState, LButton, LButton, P if LButton = U Brea...
by jacohawk
23 Aug 2017, 04:55
Forum: Gaming
Topic: Script for autofire
Replies: 5
Views: 1573

Script for autofire

I'm trying to make a simple script that autofires (press LButton) only while holding RButton. So, if I press LButton nothing happens, but if I press RButton and then LButton it autofires. Can Anyone help me? :) I have this script that works while LButton is holding: ~$*LButton:: ; Fires Automaticly ...

Go to advanced search