nfell2009

JumpSigns

May 4th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.60 KB | None | 0 0
  1. on sign change:
  2.     player has permission "qcz.admin":
  3.         line 1 of block is "jsignt":
  4.             set line 1 of block to "[JSIGNT]"
  5.  
  6. on stepping on a pressure plate:
  7.     loop blocks 2 below event-block:
  8.         loop-block is sign:
  9.             line 1 of loop-block is "[JSIGNT]" or "[JSIGNJ]":
  10.                 set {_l2} to line 2 of loop-block parsed as number
  11.                 if line 1 of loop-block is "[JSIGNT]":
  12.                     set {_l3} to line 3 of loop-block parsed as number
  13.                     push the player upwards at speed {_l2}
  14.                     wait 10 seconds
  15.                     push the player forward at speed {_l3}
  16.                 else if line 1 of loop-block is "[JSIGNJ]":
  17.                     message "hi"
Advertisement
Add Comment
Please, Sign In to add comment