Autohotkey - Script

12/28/2014 08:02 Suriki#1
Hey there,

i am having trouble getting a script running (using autohotkey).
Basically, it should send pressed mousebuttons (left and right) to minecraft while i can use my pc otherwise (writting in word or browsing via firefox).

The Minecraftserver i am playing on is using an economy plugin that gives you money for both placing and destroying weeds/sugar canes. Keeping both mousebuttons permanently clicked creates huge amounts of money in short time - but i dont want to waste my time like that. I would rather "waste" my time writing my novel.

Can you please help me?

greetings
-Riki




#####
Solved:
#####
Code:
;Minecraft:
#IfWinActive, Minecraft

+::
Send {o down}
Send {p down}
It's small, it's dirty, but it works.
Changed left and right mouse to buttons "o" and "p".
I am writing these while that little script is farming sugar cane.

I guess it is also great to get rid of... bedrock.

Opening the chat will stop the farming, so there is no need to define a stop/abort-button.