Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- //Move up one block
- #y = %YPOS%+1
- //Move to certain height
- //#y = 100
- done = false
- DO
- #ypos = %YPOS%
- IF(#ypos<#y)
- KEYUP(SNEAK)
- KEYDOWN(JUMP)
- ELSEIF(#ypos>#y)
- KEYUP(JUMP)
- KEYDOWN(SNEAK)
- ELSEIF(#ypos=#y)
- KEYUP(JUMP)
- KEYUP(SNEAK)
- WAIT(300ms)
- #ypos = %YPOS%
- IF(#ypos=#y)
- done = "true"
- ENDIF
- ENDIF
- UNTIL(done)
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement