ахк скрипт для спама
Ахк скрипт для спама
*Часто используемые скрипты*
Numpad1::
SendMessage, 0x50,, 0x4190419,, A
SendInput,
Sleep 3000
SendInput,
Sleep 3000
SendInput,
Sleep 3000
SendInput,
Return
Numpad2::
SendMessage, 0x50,, 0x4190419,, A
Numpad3::
SendMessage, 0x50,, 0x4190419,, A
Numpad1::
SendInput,
Return
Numpad2::
SendInput,
Return
Numpad3::
SendInput,
Sleep 5000
SendInput,
Sleep 5000
SendInput,
Sleep 5000
SendInput,
Return
Numpad4::
SendInput,
Sleep 5000
SendInput,
Sleep 5000
SendInput,
Sleep 5000
SendInput,
Return
Numpad5::
SendInput,
Return
Numpad6::
SendInput,
Return
Numpad7::
SendInput,
Return
Numpad0::
SendInput,
Return
Numpad8::
SendInput,
Return
Numpad9::
SendInput,
Return
[REQUEST]Easy spam script
i want a script the spams spacebar
so, if i hold down spacebar, the script has to spam spacebar.
if i turn it off by F3, i can hold spacebar down without the script acting.
i hope you understand, thanks
to suit your needs.
If the game doesn’t register it, use this instead:
and how do i make it spam space, but less times, like, only 2-3 times / second, more rarely
Ахк скрипт для спама
Hello. I just started using AutoHotkey and don’t really know how to create any scripts.
I need a script that will spam the q key. I want the script to be exited with the F9 key and the script to be toggled on and paused using the F8 key. I would prefer it to be 10 per second.
I have seen other forums, but they are not what I am looking for. Also, whenever I find a script that is perfect, but I just need to change the hotkey or key spammed; when I change the hotkey or key pressed in notepad, the script doesn’t work or do anything. For example, changing the key e for q. Am I doing something wrong? If so, what do I need to fix?
Re: Spam Q with F8 Toggle
Can you share examples of the code you have that becomes nonfunctional when you change it? (We want to see your version most importantly, but the original version is good reference too.)
Re: Spam Q with F8 Toggle
This is one of the codes I tried to change. It is from the old forums, that are archived. I changed the e to a q and the script stopped working.
F2::
If State=50
State=Off
else
State=50
SetTimer SendKey, %State%
Return
SendKey:
Send e
Return
Re: Spam Q with F8 Toggle
This is the second script, which is also from the old forums. I changed the F1 to F8 and the script stopped working.
F1::domino66Click()
Thread: Simple «hold to spam attacks» AHK script.
Thread Tools
Search Thread
Simple «hold to spam attacks» AHK script.
I have allways used this in mmos to get rid of the button mashing, it’s a really simple script that allows you to hold any hotkey (1-9) and it will spam that key until you release it.
You toggle it on and off with numlock.
If you dont have autohotkey already, here is a link to the download:
Maybe someone will find this useful 🙂
These ads disappear when you log in.
Im sorry but im still trying to learn the API for AutoHotKey
Your script it doesnt define a process like ifWInDef process
Do we have to modify your script to attach its self to the SWTOR process?
Im sorry but im still trying to learn the API for AutoHotKey
Your script it doesnt define a process like ifWInDef process
Do we have to modify your script to attach its self to the SWTOR process?
AHK doesn’t need a defined process for a script to work, the script i posted works in any game (at least it should). If you only want it to be able to send keys to swtor you can add that line though.
sorry this script didnt work.
have u actually tried this or u assume it work as it works on other games?
sorry this script didnt work.
have u actually tried this or u assume it work as it works on other games?
I haven’t actually been able to try it yet, still waiting for my game to arrive in my mailbox.. Should have just bought it online and downloaded it..
I really don’t see why it wouldnt work in this game, i have used it in wow, aion, runes of magic, warhammer online, maplestory, dragon nest ect.
Im sorry if it doesn’t work, ill probably find a way to fix it when i just get my ****ing copy of the game..
And this script works just fine for me, you must be doing something wrong.
I just tried this out and it works perfect, thanks.
For those of you who are currently having problems, try to run it as administrator on the main AHK program.
First, thanks for the great script. However, I was trying to modify it to also include the ability to spam a shift + a key. For example, to spam shift + 5 by holding down shift + 5. I have attempted to modify your code to get this to work, but I can’t seem to get it right. This is the code I’m trying. Any ideas?
*5::
Loop
<
GetKeyState, state, 5, p
GetKeyState, shiftstate, Shift, p
if (state = U)
<
break
>
else if (state = D) and (shiftstate = D)
<
Send, +<5>
Sleep, 25
>
else
<
Send, <5>
Sleep, 25
>
>
what exactly does this do i dont understand
First, thanks for the great script. However, I was trying to modify it to also include the ability to spam a shift + a key. For example, to spam shift + 5 by holding down shift + 5. I have attempted to modify your code to get this to work, but I can’t seem to get it right. This is the code I’m trying. Any ideas?
*5::
Loop
<
GetKeyState, state, 5, p
GetKeyState, shiftstate, Shift, p
if (state = U)
<
break
>
else if (state = D) and (shiftstate = D)
<
Send, +<5>
Sleep, 25
>
else
<
Send, <5>
Sleep, 25
>
>
I can’t seem to get it to work either, i’ll post back if i find a solution for this!
When you hold for example «1» it presses «1» automatically untill you release it.
$1::
IfWinActive, Star Wars: The Old Republic
<
getkeystate, KeyOut, 1
if KeyOut = D
Winactivate, Star Wars
sendplay 1
>
else
<
send 1
>
return
Here’s the script with the game window criteria.
; Simple key spam script by Winsane @ ownedcore. Edited by NewAgeRetroHippie
; Toggle on and off with numlock.
$1::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 1, p
if state = U
break
; Otherwise:
Send, <1>
Sleep, 25
>
>
else
<
send 1
>
return
$2::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 2, p
if state = U
break
; Otherwise:
Send, <2>
Sleep, 25
>
>
else
<
send 2
>
return
$3::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 3, p
if state = U
break
; Otherwise:
Send, <3>
Sleep, 25
>
>
else
<
send 3
>
return
$4::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 4, p
if state = U
break
; Otherwise:
Send, <4>
Sleep, 25
>
>
else
<
send 4
>
return
$5::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 5, p
if state = U
break
; Otherwise:
Send, <5>
Sleep, 25
>
>
else
<
send 5
>
return
$6::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 6, p
if state = U
break
; Otherwise:
Send, <6>
Sleep, 25
>
>
else
<
send 6
>
return
$7::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 7, p
if state = U
break
; Otherwise:
Send, <7>
Sleep, 25
>
>
else
<
send 7
>
return
$8::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 8, p
if state = U
break
; Otherwise:
Send, <8>
Sleep, 25
>
>
else
<
send 8
>
return
$9::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 9, p
if state = U
break
; Otherwise:
Send, <9>
Sleep, 25
>
>
else
<
send 9
>
return
$0::
IfWinActive, Star Wars: The Old Republic
<
Loop
<
GetKeyState, state, 0, p
if state = U
break
; Otherwise:
Send, <0>
Sleep, 25
>
>
else
<
send 0
>
return
Alan Arbatskiy
Активный пользователь
— 0. Вступление
Скачать биндер можно на оффициальном сайте: https://www.autohotkey.com/
После полной установки программы, нажмите ПКМ по свободному месту в папке/на рабочем столе и в разделе «Создать» выберите «AutoHotKey Script».
После этого нажмите ПКМ по созданному файлу и выберите пункт «Edit Script». В открывшемся окне можете стереть примечание от автора и начать писать свой шедевр.
— 2. Автоматическое определение языка и раскладки клавиатуры.
Данный шаг Вы можете пропустить, но тогда при неправильной раскладке клавиатуры вместо красивого текста, который вы расписывали несколько десятков минут, в чат будут отправляться сплошные вопросительные знаки, так как скрипт не будет видеть на вашей текущей раскладке бо’льшую часть нужных для набора текста символов. Во избежание этих проблем, настоятельно Вам рекомендую на следующей строке, после назначение горячей клавиши, прописать следующее:
SendMessage, 0x50,, 0x4190419,, A
Также немаловажно задать паузы между сообщениями, иначе программа может сойти с ума и начать смешивать ваши сообщения в единое целое.
Так, прописав команду Sleep и число миллисекунд после нее (1000 = 1 секунда), Вы задаете задержку между выполнениями следующих команд.
Рекомендую использовать задержку 700 между отыгровками /me /do /todo, и 1000 между сообщениями в чат (IC, /b), дабы антифлуд не триггерился на ваш скрипт. (насколько мне известно, в /f /c задержку можно ставить 200, там антифлуд почти не срабатывает).
— 4. Окончание скрипта
После того, как вы прописали все сообщения, не забудьте написать завершающую команду Return, которая останавливает чтение макроса. Иначе, если у Вас в одном файле сразу несколько скриптов, последствия будут неутешительными.