Search found 38 matches

by Raiden96
06 Apr 2022, 10:00
Forum: Gaming Help (v1)
Topic: Slight issues with this code
Replies: 6
Views: 595

Re: Slight issues with this code

There is no sending g at all. Add another send of f and g > then you will have a script that works the way you want. I don't follow really. Where would send G even fit? G is supposed to be the trigger. Press G and it does the aforementioned stuff. Can you show me exactly how this code should look l...
by Raiden96
06 Apr 2022, 08:34
Forum: Gaming Help (v1)
Topic: Slight issues with this code
Replies: 6
Views: 595

Slight issues with this code

As the title says i have small issues with the code below. What I want this script to do is to simply press F twice in a consecutive manner, of course, then hold the F for the 3rd time while pressing G only once. Tested the code in notepad and it only prints F twice, but not the 3rd F after holding ...
by Raiden96
05 Apr 2022, 15:28
Forum: Gaming Help (v1)
Topic: Help writing a script Topic is solved
Replies: 2
Views: 346

Re: Help writing a script Topic is solved

@mikeyww Thank you very much! It works great.
by Raiden96
05 Apr 2022, 13:47
Forum: Gaming Help (v1)
Topic: Help writing a script Topic is solved
Replies: 2
Views: 346

Help writing a script Topic is solved

I wanna write a script that when I press a key it will hold down another for a specified amount of time. And while on the topic, I'd like to experiment with both seconds and milliseconds. How can I write this? I usually like to try something on my own before asking for the full code but honestly I d...
by Raiden96
01 Apr 2022, 17:18
Forum: Gaming Help (v1)
Topic: Script not working Topic is solved
Replies: 6
Views: 655

Re: Script not working Topic is solved

@mikeyww I managed to figure it out. Thanks a lot!
by Raiden96
01 Apr 2022, 16:00
Forum: Gaming Help (v1)
Topic: Script not working Topic is solved
Replies: 6
Views: 655

Re: Script not working Topic is solved

mikeyww Thanks. I had a look at this before. But as far as the script is concerned. Is it okay? Are there any problems with it, obviously, aside from the fact that it's not exactly working. I mean I have other scripts I made for this game and they work just fine. So I figure it has something to do ...
by Raiden96
01 Apr 2022, 15:53
Forum: Gaming Help (v1)
Topic: Script not working Topic is solved
Replies: 6
Views: 655

Re: Script not working Topic is solved

@mikeyww It's for a game and simply put it doesn't work in game. However, to answer your question it does input the BVFX when pressing G. But i need it working in the game and sadly it doesn't.
by Raiden96
01 Apr 2022, 15:06
Forum: Gaming Help (v1)
Topic: Script not working Topic is solved
Replies: 6
Views: 655

Script not working Topic is solved

G:: SetKeyDelay, -1, 11 Send {LShift down} Send {B down} Send {V down} Send {F down} Send {X down} Send {B up} Send {V up} Send {F up} Send {X up} Send {LShift up} Return Hello. I'm not sure exactly how to get this working. After searching for so long i decided to ask since i was left with no optio...
by Raiden96
27 Mar 2022, 10:10
Forum: Gaming Help (v1)
Topic: Issues with this script Topic is solved
Replies: 2
Views: 374

Re: Issues with this script Topic is solved

@boiler Looks like that did it. Thank you
by Raiden96
27 Mar 2022, 08:03
Forum: Gaming Help (v1)
Topic: Issues with this script Topic is solved
Replies: 2
Views: 374

Issues with this script Topic is solved

X:: SetKeyDelay, -1, 11 While GetKeyState(A_ThisHotkey, "P") { Send {LShift down} {LShift up} Send {NumpadRight down} {NumpadRight up} } Return Hi! This is what i've tried. I basically want while for the LShift and NumpadRight to be held down as long as i hold down X. After i release X i want both ...
by Raiden96
27 Oct 2021, 05:20
Forum: Gaming Help (v1)
Topic: Grab escape script Topic is solved
Replies: 4
Views: 793

Re: Grab escape script Topic is solved

Thanks @mikeyww for your help! I've managed to make it work and build more scripts similar to this one. Your help has been invaluable.
by Raiden96
25 Oct 2021, 04:57
Forum: Gaming Help (v1)
Topic: Grab escape script Topic is solved
Replies: 4
Views: 793

Re: Grab escape script Topic is solved

Thanks mikeyww ! LAlt:: SetKeyDelay, 50 While GetKeyState(A_ThisHotkey, "P") { Send AD } Return I've tried it and it doesn't work. I checked a similar post where someone tried to do what i'm trying to do and someone pointed out the following : You just need to separate the keypresses into separate u...
by Raiden96
24 Oct 2021, 13:37
Forum: Gaming Help (v1)
Topic: Grab escape script Topic is solved
Replies: 4
Views: 793

Grab escape script Topic is solved

I'm trying to make a script for a game that allows me to break free from an enemy grab by pressing A D when prompted. I.e the script is supposed to press A then D then A then again D while holding LAlt then stop doing all that after releasing LAlt with a short delay between each keystroke. It should...
by Raiden96
24 Oct 2021, 13:04
Forum: Gaming Help (v1)
Topic: Re6 script Topic is solved
Replies: 9
Views: 1444

Re: Re6 script Topic is solved

Thanks a lot @mikeyww for your help! I finally reached the point where i wanted the script to be. Cheers!
by Raiden96
24 Oct 2021, 10:16
Forum: Gaming Help (v1)
Topic: Re6 script Topic is solved
Replies: 9
Views: 1444

Re: Re6 script Topic is solved

Thanks for the code mikeyww . soundDir = C:\Users\Quickstall\Desktop\RE6 #MaxThreadsPerHotkey 2 XButton2:: If on := !on play(soundDir\c1.ogg, "mpc") Else play(soundDir\c2.ogg, "mpc") Return #If on ~RButton Up:: SetMouseDelay, 100 Click, 10 Return #If I can't for the life of me figure out why i'm get...
by Raiden96
24 Oct 2021, 05:11
Forum: Gaming Help (v1)
Topic: Re6 script Topic is solved
Replies: 9
Views: 1444

Re: Re6 script Topic is solved

Thanks again mikeyww for your answer. I've checked the SoundPlay method and i couldn't figure out a way to use the 2 sounds i've found for turning the script on and off without messing up with the script's functionality. I just can't seem to make it work. Also the sound files have the .ogg extension...
by Raiden96
23 Oct 2021, 11:31
Forum: Gaming Help (v1)
Topic: Re6 script Topic is solved
Replies: 9
Views: 1444

Re: Re6 script Topic is solved

mikeyww It seems this is what i was looking for. Thanks alot! Any ideas how should i change the sound beep line to make a better distinction between the script being on off? I don't fully understand that line. Also, i've googled to find sound files i could use instead of beeps. Like sounds saying a...
by Raiden96
23 Oct 2021, 07:20
Forum: Gaming Help (v1)
Topic: Re6 script Topic is solved
Replies: 9
Views: 1444

Re6 script Topic is solved

Hello, I have this code XButton2:: Suspend, permit if (State = 0) { Soundbeep 3000, 300 State++ } Else { State := 0 SoundBeep 2000, 300 Sleep -1 SoundBeep 2000, 300 } Suspend, Toggle rbutton up:: send {lbutton 10} SetKeyDelay 800, 800 Return It's supposed to press lbutton after pressing or holding r...

Go to advanced search