Macros: Autohotkey Superthread
Moderators: Forum Moderators, Server Moderators
Forum rules
Newbie Forum is a moderated OOC forum.
Inflammatory bullshit, thread de-railing, or any other disruptive posts may result in punitive action.
Newbie Forum is a moderated OOC forum.
Inflammatory bullshit, thread de-railing, or any other disruptive posts may result in punitive action.
- Don_Collin
- keep your distance i'm a carrier
- Posts: 149.0
- Joined: June 19th, 2009, 10:37 pm
Re: Macros: Autohotkey Superthread
Thanks Juke and others. The script ((/mget and /mdeliver)) makes mat running so much faster. I also figured out how to put a ((/me)) in it.
[Sean_Dice]: /me unzipz Sauls pants.[Sean_Dice]: /me takes ahold of Sauls great big penis.
[Saul_Silver]: They call me big bob.[Sean_Dice]: /me deepthroats it.
[Sean_Dice]: Augh, augh, augh, augh, augh.[Saul_Silver]: you give shitty head. stop. now.
[Sean_Dice]: ok sorry.
[Saul_Silver]: They call me big bob.[Sean_Dice]: /me deepthroats it.
[Sean_Dice]: Augh, augh, augh, augh, augh.[Saul_Silver]: you give shitty head. stop. now.
[Sean_Dice]: ok sorry.
- Tyrone_Phillips
- Abuses Ads for Free
- Posts: 650.0
- Joined: August 28th, 2009, 6:45 pm
- Game Name(s): Tyrone_Phillips
- Location: Boulder, Colorado (USA)
Re: Macros: Autohotkey Superthread
I followed the guide to anti-spam on AHK, but it just failed me....heres my code
Any idea why It did not work?
And could i please get the warning removed, i followed the gude (just adding return)
Code: Select all
Numpad0:: SendInput t/usepot{Enter}
return
And could i please get the warning removed, i followed the gude (just adding return)
Re: Macros: Autohotkey Superthread
I don't use this stuff atm, but I see there's no sort of sleep or wait command in there.tyrone_phillips wrote:I followed the guide to anti-spam on AHK, but it just failed me....heres my code
Any idea why It did not work?Code: Select all
Numpad0:: SendInput t/usepot{Enter} return
And could i please get the warning removed, i followed the gude (just adding return)
.: Info // Advertisement // Application // Media :.
- Tyrone_Phillips
- Abuses Ads for Free
- Posts: 650.0
- Joined: August 28th, 2009, 6:45 pm
- Game Name(s): Tyrone_Phillips
- Location: Boulder, Colorado (USA)
Re: Macros: Autohotkey Superthread
There is......
sleep (insert #of MS here)
sleep (insert #of MS here)
-
- I just can't stop posting worthless shit!
- Posts: 275.0
- Joined: April 15th, 2009, 8:24 am
- Location: Sweden: In a room somewhere
Re: Macros: Autohotkey Superthread
Code: Select all
Numpad9::
SendInput t/me winks {Enter}
sleep 500
SendInput t/me unzips his pants{Enter}
sleep 500
return
very good grammer.[/quote]
-
- Posts: 693.0
- Joined: March 28th, 2009, 11:50 pm
- Location: Hungary
-
- I just can't stop posting worthless shit!
- Posts: 275.0
- Joined: April 15th, 2009, 8:24 am
- Location: Sweden: In a room somewhere
Re: Macros: Autohotkey Superthread
Hey, I'd need some help with my AHK..
As I'm using the Ahk which was used in the Op's post, I can't figure out what I should type for setting the '' Backward key '' on the mouse to like the tazer command.
As I'm using the Ahk which was used in the Op's post, I can't figure out what I should type for setting the '' Backward key '' on the mouse to like the tazer command.
Code: Select all
??????::
Send t/tazer{Enter}
sleep 200
return
very good grammer.[/quote]
-
- super kawaii ^_^!!!!!!!!
- Posts: 197.0
- Joined: April 22nd, 2008, 7:56 pm
- Game Name(s): John_Woody
- Location: Germany
Re: Macros: Autohotkey Superthread
Double click the ahk tray icon. Then go to view, then click "Key history and script info". Next you press that "Backward key" a few times, then hit f5 to refresh, then you should be able to see what you gotta put into your script
-
- I just can't stop posting worthless shit!
- Posts: 275.0
- Joined: April 15th, 2009, 8:24 am
- Location: Sweden: In a room somewhere
Re: Macros: Autohotkey Superthread
Thanks I found out that it was '' XButton1 '' or '' XButton2 ''.
So if any cop have this kind of mouse, with these kind of keys you could use something like this;
So if any cop have this kind of mouse, with these kind of keys you could use something like this;
Code: Select all
XButton1::
SendInput t/tazer{Enter}
SendInput t/me makes a tazer gun sound while shooting his tazer at the suspect/SAS{Enter}
Sleep 200
return
very good grammer.[/quote]
-
- Posts: 54.0
- Joined: October 2nd, 2008, 5:48 am
- Game Name(s): JP_Mack John_McCloud
- Location: Czech republic
- Contact:
Re: Macros: AHK Superthread - Random
-A kind of random:
This script will make shortcuts on numpad2 and everytime randomly choose one of the options,just copy this-paste in your ahk script and edit how you need ..
-You can also edit amounth of randoms,just copy commands lines below and paste them more times under them selfs and edit "X" to 1,2,3,4,5.....
if (scrach = "X")
{
Sendinput t/Fucku{enter}t/s Son of a bitch{enter}
sleep 1000
}
-just dont forget edit line "random, scrach,1 , Y " where "Y" says how much randoms will be used
i'm using em for /mget /mdeliver or randomly shouting shits on drivers,enemies etc.
Have funn :o)
Numpad2::
if (scrach = "1")
{
Sendinput t/piss{enter}t/me Pissing out all his cash.{enter}
sleep 1000
}
if (scrach = "2")
{
Sendinput t/Dance 4{enter}t/me Dancing like a bitch.{enter}
sleep 1000
}
if (scrach = "3")
{
Sendinput t/Smoke 1{enter}t/me Light's up the blunt and smokes out his brain.{enter}
sleep 1000
}
Random, scrach, 1, 3
return
This script will make shortcuts on numpad2 and everytime randomly choose one of the options,just copy this-paste in your ahk script and edit how you need ..
-You can also edit amounth of randoms,just copy commands lines below and paste them more times under them selfs and edit "X" to 1,2,3,4,5.....
if (scrach = "X")
{
Sendinput t/Fucku{enter}t/s Son of a bitch{enter}
sleep 1000
}
-just dont forget edit line "random, scrach,1 , Y " where "Y" says how much randoms will be used
i'm using em for /mget /mdeliver or randomly shouting shits on drivers,enemies etc.
Have funn :o)
Re: Macros: Autohotkey Superthread
Do you want to hold down a key without even holding it down?
Well here's a solution, simple work of AHK.
You can ofcourse remove that sleep if you want, and put it like this.
Enjoy
Well here's a solution, simple work of AHK.
Code: Select all
F12::
send {F12 down}
sleep 2000
send {F12 up}
return
Code: Select all
F12::
send {F12 down}
return
F11::
send {F12 up}
return
spurt of splooge to the eye
-
- Posts: 67.0
- Joined: July 8th, 2009, 4:39 pm
Re: Macros: Autohotkey Superthread
Kaze wrote:Here is a hotkey that toggles the HUD on or off with F10 so you don't have to hold it down for screens or whatever.Code: Select all
*F10:: if HiddenStuff <> 1 { SendInput {F10 down} HiddenStuff = 1 } else { SendInput {F10 up} HiddenStuff = 0 } return
Ron_Jakobs wrote:Do you want to hold down a key without even holding it down?
Well here's a solution, simple work of AHK.
You can ofcourse remove that sleep if you want, and put it like this.Code: Select all
F12:: send {F12 down} sleep 2000 send {F12 up} return
EnjoyCode: Select all
F12:: send {F12 down} return F11:: send {F12 up} return
Cos' thats the way the cookie crumbles
Okay now, bye bye then!
-
- Posts: 693.0
- Joined: March 28th, 2009, 11:50 pm
- Location: Hungary
Re: Macros: Autohotkey Superthread
Anyone interested in that?
Erhm... anyone else?
OK, looks like it was totally unnecessary to make that post after 20+ days of delay
Erhm... anyone else?
OK, looks like it was totally unnecessary to make that post after 20+ days of delay
John Pendergast
-
- Posts: 82.0
- Joined: September 7th, 2009, 12:59 pm
Re: Macros: Autohotkey Superthread
Won't work at all with Windows 7 64-bit.
EDIT: Got it to work..
EDIT: Got it to work..
I apologize.
-
- Posts: 181.0
- Joined: August 23rd, 2009, 10:47 am
Re: Macros: Autohotkey Superthread
yo,
i am not so smart with this stuff, but i'm trying to make my script.
and i got this for some rp thing:
you see the last ''sendinput Q'' i want the program to automaticly press the Q button so the animation will stop.
but it's not stopping, anyone who knows how i can fix this?
i am not so smart with this stuff, but i'm trying to make my script.
and i got this for some rp thing:
Code: Select all
!3::
sendinput t/me breaks window{enter}
sendinput t/robman{enter}
sleep 1000
sendinput Q
return
you see the last ''sendinput Q'' i want the program to automaticly press the Q button so the animation will stop.
but it's not stopping, anyone who knows how i can fix this?
-
- Posts: 261.0
- Joined: January 6th, 2009, 11:08 am
- Game Name(s): Jeremy_Clarkson
- Contact:
Re: Macros: Autohotkey Superthread
Do it like this
Code: Select all
!3::
sendinput t/me breaks window{enter}
sendinput t/robman{enter}
sleep 1000
sendinput t/stopani{enter}
return
-
- Posts: 181.0
- Joined: August 23rd, 2009, 10:47 am
Re: Macros: Autohotkey Superthread
yea i tried that one too, but the textmessage ''press q to stop animation'' stays on my screen, so that's why i want to do it with the Q button.
-
- Posts: 261.0
- Joined: January 6th, 2009, 11:08 am
- Game Name(s): Jeremy_Clarkson
- Contact:
Re: Macros: Autohotkey Superthread
I'm not sure about this, but why not change the whole line with an {enter} or {space}, usually those stop the anim. Try that maybe?