better /up

#1
Originally by: KingOfTurkey

Edits: Places glass block below you like on pc, uses move instead of tp so it doesn't spam chat of others with tp messages

Code:
cmd edit up 2 let %y1% = %args%[1]
cmd edit up 3 if %y1% = 0 then exit
cmd edit up 4 let %yy% = %y%
cmd edit up 5 let %yyy% = %yy% + %y1%
cmd edit up 6 move %p% %level% %x% %yyy% %z%
cmd edit up 7 let %set% = %yyy% - 1
cmd edit up 8 block %level% %x% %set% %z% glass
cmd edit up 10 move %p% %level% %x% %yyy% %z%
cmd edit up 11 exit