Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- // This macro will hover at any Y level under water, or on the surface. Use LSHIFT and SPACE to move up or down, and it will hover at the new level. Bind this with $$<swimhover.txt>. It functions as a toggle.
- if(!swimhover);
- set(swimhover);
- #y_anchor = %YPOS%;
- do;
- if(KEY_SPACE);
- keydown(jump);
- #y_anchor = %YPOS%;
- elseif(KEY_LSHIFT);
- keyup(jump);
- #y_anchor = %YPOS%;
- elseif(#y_anchor > %YPOS%);
- keydown(jump);
- else;
- keyup(jump);
- endif;
- loop;
- else;
- unset(swimhover);
- if(!KEY_SPACE);
- keyup(jump);
- endif;
- stop();
- endif;
- stop();
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement