Jump to content
Sign in to follow this  
Turdsammiches

help with hotkey

Recommended Posts

Turdsammiches

I am having a problem with my script i am writing here is the code:

HotKeySet("{END}", "_spammerstop")

ToolTip("    Spammer v1.0   " & @CRLF & "Written by: b3n aka mrcookiemonsteryum.", 700, 25)
sleep(2000)
_waitspammerinput()

Func _waitspammerinput()
HotKeySet("{INSERT}", "_spammerspam")
HotKeySet("{END}", "_spammerstop")
Send("{CTRLUP}")
While 1
    ToolTip("")
    ToolTip("Copy some text for the spammer to spam" & @CRLF & "than select the textfield" & @CRLF & "& press the 'Insert' key to start spamming." & @CRLF & "or, press the 'End' key to exit the program.", 700, 25)
    sleep(1000)
WEnd
EndFunc

Func _spammerspam()
ToolTip("")
ToolTip("Press the 'Insert' key to pause the spammer" & @CRLF & "or, press the 'End' key to exit the spammer", 700, 25)
HotKeySet("{INSERT}", "_waitspammerinput")
HotKeySet("{END}", "_spammerstop")
While 1
    send("{CTRLDOWN}")
    send("v down")
    send("{ENTER}")
WEnd
EndFunc

Func _spammerstop()
Send("{CTRLUP}")
Exit
EndFunc

whenever it is in the _spammerspam function the hotkeys don't work, but when it is in any of the other functions the hotkeys work, need some help figuring this out.

Edited by Turdsammiches

Share this post


Link to post
Share on other sites
Zeeshaan

is this a script used for spamming the Message boards/forums?

Share this post


Link to post
Share on other sites
Turdsammiches

no, this is a spammer for a game that i play to advertise items i am selling so i don't have to press ctrl and v over and over

Edited by Turdsammiches

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.