@name Look and Jump
@inputs Txt:wirelink Adv:wirelink HovD:wirelink
@outputs X Y Z Go X1 Y1 Z1 X2 Y2 Z2 Command Jumper
@persist
interval(10)
OffSet = 15
X1 = Txt:number("X")
Y1 = Txt:number("Y")
Z1 = Txt:number("Z")
Command = Txt:number("Daz Here")

X2 = Adv:number("X")
Y2 = Adv:number("Y")
Z2 = Adv:number("Z")
Jumper = Adv:number("Mouse1")

if (Command) {X = X1 ,Y = Y1 , Z = Z1 + OffSet, Go = 1} else {Go = 0}
if (Jumper) {X = X2 , Y = Y2 , Z = Z2 + OffSet, Go = 1} else {Go = 0}

HovD:setNumber("X_JumpTarget",X)
HovD:setNumber("Y_JumpTarget",Y)
HovD:setNumber("Z_JumpTarget",Z)
HovD:setNumber("SetJumpTarget",Go)
HovD:setNumber("Jump",Go)
