Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Macro / Keybind mod scripts!

script macro keybind

  • Please log in to reply
157 replies to this topic

#141

iiBanksy
    iiBanksy

    Tree Puncher

  • Members
  • 13 posts

Posted 05 October 2013 - 04:21 PM

I can't figure out how since I've been away from the mod for awhile now how to make this script. If anyone could help me that would be great. Basically what I'm trying to get it to do is when a specific player or set of players join it executes a command. I think it would be related somewhat close to the "onPlayerJoined" but that is when any player joins and I can't figure out how to filter it to a specific player or set of players.

Register or log in to remove.

#142

Lex1k0n
    Lex1k0n

    Newly Spawned

  • Members
  • 1 posts

Posted 06 October 2013 - 01:25 AM

I want a hotkey to automatically double tap the space so I can fly. Any thoughts?

#143

dragonzero39
  • Location: Pacific Northwest
  • Minecraft: dragonzero39

Posted 07 October 2013 - 11:03 PM

Can someone create a macro that executes the command /skill summonarrow
ever 30 seconds, but is toggleable so I can turn it on and off?

#144

billdoornz

Posted 09 October 2013 - 09:24 PM

View PostLex1k0n, on 06 October 2013 - 01:25 AM, said:

I want a hotkey to automatically double tap the space so I can fly. Any thoughts?

I use:

 KEYDOWN(jump);
WAIT(1ms);
KEYUP(jump);
WAIT(10ms);
KEYDOWN(jump);
WAIT(1ms);
KEYUP(jump);


#145

zerchted
    zerchted

    Zombie Killer

  • Members
  • 218 posts
  • Location: Australia

Posted 09 October 2013 - 11:26 PM

View Postbilldoornz, on 09 October 2013 - 09:24 PM, said:



I use:

 KEYDOWN(jump);
WAIT(1ms);
KEYUP(jump);
WAIT(10ms);
KEYDOWN(jump);
WAIT(1ms);
KEYUP(jump);

I may be missing something, but why can't you just bind the fly command to a key? Tap once to fly, tap again to stop flying.

#146

pianoboy8
  • Location: New York, United States
  • Minecraft: pianoboy8

Posted 11 October 2013 - 09:52 PM

Can someone make a full auto tool switch script? Example, starting to punch a stone block will switch your item in hand to your pickaxe from your hotbar/inventory. Once it breaks you switch back to what you were using before.
Rule order of exceptions: Best tool type THEN highest durability (Including Unbreaking 3) THEN enchanted.
Another script, but this one is more of an addon to the previous: Ability to toggle between non silk touch tool, silk touch tool, and fortune tool.
Posted Image
I am the Lyoko Hero

#147

RandomNigger

Posted 19 October 2013 - 07:22 PM

Can someone possible make a script which walks west 13000 ms then turns east and walks 13000? Also make it loop until L is pressed. Thanks!

#148

rockobar
    rockobar

    Newly Spawned

  • Members
  • 1 posts

Posted 01 November 2013 - 11:22 AM

On the enchanting-bottle-snowball-bow-turret script, when I try to use it I believe it draws back fully the first time to a fully charged bow, but from thereafter it only shoots the weakest stage of the bow shot. Is there a script that draws the bow back fully every single time until you stop?

#149

WolfLeader116
  • Location: In a world in a world in a world...
  • Minecraft: WolfLeader116

Posted 01 February 2014 - 09:34 PM

View PostLex1k0n, on 06 October 2013 - 01:25 AM, said:

I want a hotkey to automatically double tap the space so I can fly. Any thoughts?

I just happened to make a script for this today! Just open your keybindings page, click whatever key you want to bind this to, in the script, type in
$$<fly.txt>
Then save it, go to the edit text page and create a new file named fly. In that file paste this code in!
$${
if(fly);
	log("&b[MACROS] &2Flying off.");
	unset(fly);
	wait(1ms);
	keydown(jump);
	wait(1ms);
	keyup(jump);
	wait(1ms);
	keydown(jump);
	wait(1ms);
	keyup(jump);
	wait(1ms);
	stop();
else;
	log("&b[MACROS] &2Flying on.");
	set(fly);
	wait(1ms);
	keydown(jump);
	wait(1ms);
	keyup(jump);
	wait(1ms);
	keydown(jump);
	wait(1ms);
	keyup(jump);
endif;
}$$
Then, save and close it. Once you are in a world/server where you are in creative mode or are able to fly, press that key you bound it to and it will toggle flight on and off. NOTE: If you are lagging, it will not work!
~WolfLeader116-The only person living in a non-existent universe!~
Spoiler:
Posted Image

#150

Psid3r
    Psid3r

    Tree Puncher

  • Members
  • 21 posts

Posted 18 February 2014 - 06:01 AM

Hi!
Does anyone know a simple script to eat (not the AutoEater-Smart/Efficient) to put on the onFoodChange event?

For example, if your hunger reaches a certain level, go to slot 9,then eat, then return to previous slot you were using.


Thanks in advance.

EDIT: Got it from the mod's post.
01110010 01100101 01100001 01101100 00100000 01100101 01111001 01100101 01110011 00100000 01110010 01100101 01100001 01101100 01101001 01111010 01100101 00100000 01110010 01100101 01100001 01101100 00100000 01101100 01101001 01100101 01110011

#151

Knolle95
    Knolle95

    Tree Puncher

  • Members
  • 31 posts
  • Location: Germany

Posted 27 February 2014 - 02:26 PM

Searching for a script, that auto drops items from my inventory, not only hotbar.
repeating the loop every 30sec and only if there is a bunch of cobblestone (1stack or at least 48 cobble) and drop this cobble directly.

#152

Burkino
    Burkino

    Out of the Water

  • Members
  • 5 posts
  • Minecraft: Burkino

Posted 20 March 2014 - 12:59 AM

Could someone tell me how to make a toggle key?
I'm making a small minigame (with no plugins)

#153

vkolasa
    vkolasa

    Tree Puncher

  • Members
  • 16 posts

Posted 14 April 2014 - 11:08 PM

How about a script that runs a command when you have X amount of <item name here> in your inventory?

#154

omanges
    omanges

    Zombie Killer

  • Members
  • 159 posts
  • Location: United States
  • Minecraft: omanges

Posted 15 April 2014 - 10:52 PM

Is there a way so when I go from world2 (That has /fly disabled) to world1 (That has /fly) it types /fly? but only when going from world2 to world 1, and not vice versa?

#155

xLastLife

Posted 17 April 2014 - 10:30 PM

[deleted]

#156

DragDread
  • Minecraft: DragDread

Posted 18 April 2014 - 03:13 PM

Is there any possible way to bind F3 and A to a  single key?

#157

MyNameIsWeird

Posted 18 April 2014 - 09:42 PM

I saw some people on here wanting an autoswitch script, well here it is:
Spoiler:
The reason its so long is because I could not find a way to put multiple conditions in the if statements. I tried using ||, but it would not work correctly. I decided to do this even though there was a mod for it because I wanted to see if I could replicate that mod (AutoSwitch). The one thing I can't figure out is how to switch back to the slot you were previously in, like in the mod.

However, there are some advantages to using this script instead if the mod, with this script, you can better customize what you want to switch to. Also, I put some warnings in for silverfish blocks and little part that shouts "DIAMONDS!!!" when you are mining diamond ore.

Feel free to use my script to your advantage!

#158

ssamot
    ssamot

    Carpenter

  • Members
  • 61 posts

Posted Today, 05:43 AM

HI I would like some help on a macro

Spoiler:

I would like it to output a certain command for the voxelsniper brush

the comand are

/b [s,b,d,vd,vdf,e,t]

if e
/b e [melt,fill,smooth,lift]

if t
/b t [tree,bigtree,ect]

I alredy try /b $$[[s,b,d,vd,vdf,e $$[[melt,fill,smooth,lift]],t $$[[tree,bigtree,ect]]]]
but this give me the second choice (melt, ect) in first so it's not good

I want that if input e or t i got there respective choice and if not nothing more