Search found 18 matches
- 11 Aug 2017, 06:28
- Forum: Gaming Help (v1)
- Topic: Defaulting key when not in a game Topic is solved
- Replies: 1
- Views: 1040
Defaulting key when not in a game Topic is solved
I want to be annoying in a certain game. And I want to bind every key in my keyboard (except one for emergency purposes) to spam the same message to the game's chat. But this means I'll have to create a function for each and every key with only one minor difference: If I'm not in the game, it won't ...
- 10 Aug 2017, 02:09
- Forum: Off-topic Discussion
- Topic: « What's on your mind? » Topic is solved
- Replies: 4901
- Views: 1417406
Re: « What's on your mind? » Topic is solved
What's on my mind?
.............
Really nothing. because it's 1am when I post this and I have not slept uyet
.............
Really nothing. because it's 1am when I post this and I have not slept uyet
- 10 Aug 2017, 02:06
- Forum: Gaming Help (v1)
- Topic: Help with if statements and variables Topic is solved
- Replies: 1
- Views: 995
Help with if statements and variables Topic is solved
I've been bored recently; downloaded a few games here and there, and forgot I had a game similar to DDR (DanceDance Revolution) And I remembered that the controls were locked to arrow keys Here's the script: #CommentFlag dancefilter := False DanceRight() { if dancefilter { Send, {Right} Return } els...
- 10 Apr 2017, 12:46
- Forum: Ask for Help (v1)
- Topic: PixelGetColor stopped working.
- Replies: 3
- Views: 1044
Re: PixelGetColor stopped working.
You say that now it malfunctions, but not in what way. Did they maybe change the color of the pixel on the site? Is the code now failing to get the color of the pixel? Did they maybe change the coordinates of the thing that you click on? Sorry about that. I made this post in the middle of the morni...
- 10 Apr 2017, 05:35
- Forum: Ask for Help (v1)
- Topic: PixelGetColor stopped working.
- Replies: 3
- Views: 1044
PixelGetColor stopped working.
I've been using the script below to automate a mini-game on a site. The script worked a few days back, but now it suddenly started malfunctioning. Keep in mind, I have not changed anything from the time I made it and from today. 5:: PixelGetColor, currentsym, 907, 255 , RGB If currentsym = 0x9F2A2A ...
- 07 Apr 2017, 21:13
- Forum: Gaming Help (v1)
- Topic: Code acting weirdly, or is it just me
- Replies: 7
- Views: 2077
Re: Code acting weirdly, or is it just me
Xtra is correct, in each of your functions you are checking the value of ScriptStasis, but you are checking a local copy of that variable. If you use the Global prefix when initializing the variable it will be considered a Super Global and functions will use the right value to check. Basically the ...
- 07 Apr 2017, 19:55
- Forum: Gaming Help (v1)
- Topic: Code acting weirdly, or is it just me
- Replies: 7
- Views: 2077
Re: Code acting weirdly, or is it just me
I'm even more confused.Xtra wrote:Also note the line at the top of script:
Should be:Code: Select all
ScriptStasis := 0
This will make it super global and the variable usable in the functions.Code: Select all
Global ScriptStasis := 0
- 07 Apr 2017, 19:01
- Forum: Gaming Help (v1)
- Topic: Code acting weirdly, or is it just me
- Replies: 7
- Views: 2077
Re: Code acting weirdly, or is it just me
Put #UseHook at the top of your script or put $ prefix on your hotkeys. For the ScriptStasis variable problem? Yeah, THAT, I could've done if it was the main problem, but it's not. My real problem is that even when the script realizes it shouldn't execute the code inside of the first brackets of If...
- 07 Apr 2017, 18:49
- Forum: Gaming Help (v1)
- Topic: Code acting weirdly, or is it just me
- Replies: 7
- Views: 2077
Code acting weirdly, or is it just me
So, if you couldn't tell from the annoying title, I'm having trouble again. I've made a script for a Facebook game called 'Ninja Saga' where the script allows for quick casting of jutsus and talents. And I've added a variable called ScriptStasis where if its 1, the script would go into stasis (duh),...
- 02 Apr 2017, 11:35
- Forum: Ask for Help (v1)
- Topic: Making IfElse statement do nothing
- Replies: 7
- Views: 7532
Re: Making IfElse statement do nothing
Thank you all for the responses, I will try them all with my current script, and I'll reply back with my progress.
- 02 Apr 2017, 08:59
- Forum: Ask for Help (v1)
- Topic: Making IfElse statement do nothing
- Replies: 7
- Views: 7532
Making IfElse statement do nothing
This is semi-related to my last topic, which was compressing if statements. So, I've done that, and now I've tried to make an if-else statement that needs to do nothing. More specifically, if PixelGetColor gets 9F2A2A, which is sort of a bit darker red, I need to add 1 to a variable called RedCount,...
- 02 Apr 2017, 08:18
- Forum: Ask for Help (v1)
- Topic: Way to compress if statement?
- Replies: 3
- Views: 1150
Re: Way to compress if statement?
Long story shot, all options worked.
The reply was delayed because power went off. For an entire night.
The reply was delayed because power went off. For an entire night.
- 01 Apr 2017, 19:37
- Forum: Ask for Help (v1)
- Topic: Way to compress if statement?
- Replies: 3
- Views: 1150
Re: Way to compress if statement?
What you want is the Mod () function. Mod(shitvar,10) will be zero if it's a multiple of 10. So If !Mod(shitvar,10) is the if statement you want. Alternatively, and this is what you can use if you have an irregular pattern (like 1, 4, 7, 9, 15, 22) is using the OR operator If (shitvar=1) || (shitva...
- 01 Apr 2017, 19:21
- Forum: Ask for Help (v1)
- Topic: Way to compress if statement?
- Replies: 3
- Views: 1150
Way to compress if statement?
What I'm trying to do is: Loop a certain action, and before every loop, to add 1 to a variable. At the end of the loop, it checks if the variable is at the multiples of 10 (10,20,30,40 etc.), and if it is, to throw a Gui asking if the user wants to continue. And if the user clicks Continue, the scri...
- 01 Apr 2017, 17:33
- Forum: Notepad++
- Topic: Setup Notepad++ for AutoHotkey
- Replies: 167
- Views: 523355
Re: Setup Notepad++ for AutoHotkey
Alright, this works fine on the latest version of NPP at the time I made this post, but now something wrong's happening. At least I think it's wrong. So, I made a script before installing the user defined language, and after I did, I restarted NPP and selected AutoHotKey on Language, to be greeted w...
- 29 Mar 2017, 09:55
- Forum: Gaming Help (v1)
- Topic: Auto-Accept Match League of Legends
- Replies: 4
- Views: 1747
Re: Auto-Accept Match League of Legends
We need to know what you've used so far so that we can actually help you.jinky999 wrote:Hi everyone, i wanna create auto accept match button for league of legends, i tried but didn't work.
Hope you guys help me
Just posting it like that is just stupid.
- 29 Mar 2017, 09:51
- Forum: Ask for Help (v1)
- Topic: Need to show tooltip when toggling Suspend Topic is solved
- Replies: 5
- Views: 2447
Re: Need to show tooltip when toggling Suspend Topic is solved
ScriptStat := false Numpad0:: Suspend ; Make this hotkey immune to suspend, so it can Un-Suspend If ScriptStat { ScriptStat := false Tooltip, Script reenabled Suspend, Off } else { ScriptStat := true Tooltip, Script suspended. Suspend, On } return Thank you, evilC! This helped a lot.
- 29 Mar 2017, 09:33
- Forum: Ask for Help (v1)
- Topic: Need to show tooltip when toggling Suspend Topic is solved
- Replies: 5
- Views: 2447
Need to show tooltip when toggling Suspend Topic is solved
I'm working on a script that temporarily disables the number keys on top of the QWERTYUIOP, and it sort of works, just not the way I expected it to. Yes, the script gives me a tooltip and then suspends, but then it also closes itself. Here's what I have so far. ScriptStat := false Numpad0:: If Scrip...