Multi-Gaming Community
It is currently 03 Jul 2025, 23:05

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 05 Apr 2011, 08:38 
Offline
Likes to type... (265)
User avatar
AutoHotkey Macro Script
AutoHotkey is useful in Minecraft for automating commonly used commands, and I felt that Stop_Sign's original post could use an update.

AutoHotkey Download Link
http://www.autohotkey.com/download/

Once downloaded and installed, right click on the AHk icon and select, "Edit This Script."
Delete everything and copy/paste the below script.
After you paste it, be sure to save it, then close it out, right click on the AHk icon and select, "Reload This Script."
Code:
^v::
SendInput t
Sleep 200
SendInput /paste{Return}
return
^z::
SendInput t
Sleep 200
SendInput /undo{Return}
return
^c::
SendInput t
Sleep 200
SendInput /copy{Return}
return
^x::
SendInput t
Sleep 200
SendInput /cut{Return}
return
^b::
SendInput t
Sleep 200
SendInput /measure{Return}
return
^f::
SendInput t
Sleep 200
SendInput /c{Return}
return
^g::
SendInput t
Sleep 200
SendInput /mark{Return}
return
^t::
SendInput t
Sleep 200
SendInput /c air{Return}
return
^p::
SendInput t
Sleep 200
SendInput /patrol{Return}
Sleep 500
SendInput {Shift down}
SendInput {q down}
Sleep 500
SendInput {q up}
SendInput {Shift up}
MouseMove <X>, <Y+400>, 5
return
To use the auto-patrol (the code that starts with ^p::), it takes a bit of preparation. Right click on the AHk icon, select window spy, go to your minecraft window and control your character. In the window spy, it'll tell you a mouse position (In Active Window: X, Y). Replace the <X> and <Y> with those numbers (Y add 400). For example, I see in Active Window: 511, 338, so I'd type
MouseMove 511, 700, 5 on that line.

Now you have a command that patrols, flies up and then looks straight down.

Commands for the above script
  • CTRL+V to paste
    CTRL+Z to undo
    CTRL+C to copy
    CTRL+X to cut
    CTRL+B to measure
    CTRL+F to do a cuboid
    CTRL+G to mark
    CTRL+T to make a cuboid of air
    CTRL+P to patrol
For Supop rank or higher, I have created a script to automate wiping the main map. See the below link for the script. (must be rank Supop or higher to see)
http://forum.specialattack.net/viewtopi ... 05&t=10160

_________________
I used to do drugs. I still do, but I used to, too.
-Mitch Hedberg

Front page of a very old website of mine back in 1999:
Hello, today is December 30, 110 and this site is Y2K compatible.


Top
   
PostPosted: 05 Apr 2011, 08:43 
Offline
Likes to type... (265)
User avatar
Crap, I just noticed I wasn't in the Minecraft sub-forum, so could someone please move this to the General Discussions section over there for me? :mrgreen:

-Thank you Cardboard

_________________
I used to do drugs. I still do, but I used to, too.
-Mitch Hedberg

Front page of a very old website of mine back in 1999:
Hello, today is December 30, 110 and this site is Y2K compatible.


Last edited by Fumino on 05 Apr 2011, 08:49, edited 1 time in total.

Top
   
PostPosted: 05 Apr 2011, 08:46 
Offline
Has no REAL life! (1620)
User avatar
Done.

_________________
swedishnitro wrote:
I take it all back. FFFFFFUUUUUU cardboard!!!!!


Top
   
PostPosted: 05 Apr 2011, 13:03 
Offline
Pretty useless (90)
User avatar
Wow TY Fumino so much, I've been wondering how to get macro's but couldn't be stuffed, and this really helped dummies like me :)

_________________
#Rico_Faraguez: I WANT KIRSHIS MOANS!!!!!!!!!

Kirshi Fur: they're up in my bummmmmmmmmmmmmm

luketainsh: i need you rico
luketainsh: <3
#Rico_Faraguez: Alright, then, bye :)


Top
   
PostPosted: 05 Apr 2011, 15:02 
Offline
Geek (649)
User avatar
It is very important that you enter the sleep 200 or some sort of delay. The new .6 wom's broke macros so a delay is required now.

_________________
Quote:
Hi i'm patogy as much as you know,
I'm 19 years old and got a new car tommorow the Aston Martin DB9 :3


Top
   
PostPosted: 06 Apr 2011, 09:40 
Offline
Has no REAL life! (1349)
User avatar
so that explains why my macros were being stupid

_________________
jhvirik: you... get new one befour I get red in my face of hate
saintk: you have to send a DNA sample to Google these days in order to be able to reply on youtube


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited