Hey people,
I am writing a skript for my server, to make a system with which you can trap players in a cage.
However, it doesnt work. Can someone please help me? (The problem is that it doesnt recognice the player reference / the location of the player but i dont know what to use i tried everything and i left it here so thats why it says {<player>}, its the last thing i tried because i came here.)
command /trap <player>:
trigger:
set block 1 under {<player>} to glass
set {pos.1} to block 1 under {<player>}
set block 1 north of {pos.1} to glass
set {pos.2} to block 2 north of {pos.1}
set block 1 above {pos.2} to glass
set block 2 above {pos.2} to glass
set block 3 above {pos.2} to glass
set block 1 south of {pos.1} to glass
set {pos.3} to block 2 south of {pos.1}
set block 1 above {pos.3} to glass
set block 2 above {pos.3} to glass
set block 3 above {pos.3} to glass
set block 1 west of {pos.1} to glass
set {pos.4} to block 2 west of {pos.1}
set block 1 above {pos.4} to glass
set block 2 above {pos.4} to glass
set block 3 above {pos.4} to glass
set block 1 east of {pos.1} to glass
set {pos.5} to block 2 east of {pos.1}
set block 1 above {pos.5} to glass
set block 2 above {pos.5} to glass
set block 3 above {pos.5} to glass
set block 1 north 1 west of {pos.1} to glass
set block 1 north 1 east of {pos.1} to glass
set block 1 south 1 west of {pos.1} to glass
set block 1 south 1 east of {pos.1} to glass
set block 2 north 1 east 1 above {pos.1} to glass
set block 2 north 1 east 2 above {pos.1} to glass
set block 2 north 1 east 3 above {pos.1} to glass
set block 1 north 2 east 1 above {pos.1} to glass
set block 1 north 2 east 2 above {pos.1} to glass
set block 1 north 2 east 3 above {pos.1} to glass
set block 2 north 1 west 1 above {pos.1} to glass
set block 2 north 1 west 2 above {pos.1} to glass
set block 2 north 1 west 3 above {pos.1} to glass
set block 1 north 2 west 1 above {pos.1} to glass
set block 1 north 2 west 2 above {pos.1} to glass
set block 1 north 2 west 3 above {pos.1} to glass
set block 2 south 1 east 1 above {pos.1} to glass
set block 2 south 1 east 2 above {pos.1} to glass
set block 2 south 1 east 3 above {pos.1} to glass
set block 1 south 2 east 1 above {pos.1} to glass
set block 1 south 2 east 2 above {pos.1} to glass
set block 1 south 2 east 3 above {pos.1} to glass
set block 2 south 1 west 1 above {pos.1} to glass
set block 2 south 1 west 2 above {pos.1} to glass
set block 2 south 1 west 3 above {pos.1} to glass
set block 1 south 2 west 1 above {pos.1} to glass
set block 1 south 2 west 2 above {pos.1} to glass
set block 1 south 2 west 3 above {pos.1} to glass
set block 4 above {pos.1} to glass
set {pos.6} to block 4 above {pos.1}
set block 1 north 1 east of {pos.6} to glass
set block 1 north 1 west of {pos.6} to glass
set block 1 south 1 east of {pos.6} to glass
set block 1 south 1 west of {pos.6} to glass
set block 1 north of {pos.6} to glass
set block 1 south of {pos.6} to glass
set block 1 east of {pos.6} to glass
set block 1 west of {pos.6} to glass
[doublepost=1548761490,1548761456][/doublepost]and btw its not about the right amount of tags because they are right but it just didnt paste properly
I am writing a skript for my server, to make a system with which you can trap players in a cage.
However, it doesnt work. Can someone please help me? (The problem is that it doesnt recognice the player reference / the location of the player but i dont know what to use i tried everything and i left it here so thats why it says {<player>}, its the last thing i tried because i came here.)
command /trap <player>:
trigger:
set block 1 under {<player>} to glass
set {pos.1} to block 1 under {<player>}
set block 1 north of {pos.1} to glass
set {pos.2} to block 2 north of {pos.1}
set block 1 above {pos.2} to glass
set block 2 above {pos.2} to glass
set block 3 above {pos.2} to glass
set block 1 south of {pos.1} to glass
set {pos.3} to block 2 south of {pos.1}
set block 1 above {pos.3} to glass
set block 2 above {pos.3} to glass
set block 3 above {pos.3} to glass
set block 1 west of {pos.1} to glass
set {pos.4} to block 2 west of {pos.1}
set block 1 above {pos.4} to glass
set block 2 above {pos.4} to glass
set block 3 above {pos.4} to glass
set block 1 east of {pos.1} to glass
set {pos.5} to block 2 east of {pos.1}
set block 1 above {pos.5} to glass
set block 2 above {pos.5} to glass
set block 3 above {pos.5} to glass
set block 1 north 1 west of {pos.1} to glass
set block 1 north 1 east of {pos.1} to glass
set block 1 south 1 west of {pos.1} to glass
set block 1 south 1 east of {pos.1} to glass
set block 2 north 1 east 1 above {pos.1} to glass
set block 2 north 1 east 2 above {pos.1} to glass
set block 2 north 1 east 3 above {pos.1} to glass
set block 1 north 2 east 1 above {pos.1} to glass
set block 1 north 2 east 2 above {pos.1} to glass
set block 1 north 2 east 3 above {pos.1} to glass
set block 2 north 1 west 1 above {pos.1} to glass
set block 2 north 1 west 2 above {pos.1} to glass
set block 2 north 1 west 3 above {pos.1} to glass
set block 1 north 2 west 1 above {pos.1} to glass
set block 1 north 2 west 2 above {pos.1} to glass
set block 1 north 2 west 3 above {pos.1} to glass
set block 2 south 1 east 1 above {pos.1} to glass
set block 2 south 1 east 2 above {pos.1} to glass
set block 2 south 1 east 3 above {pos.1} to glass
set block 1 south 2 east 1 above {pos.1} to glass
set block 1 south 2 east 2 above {pos.1} to glass
set block 1 south 2 east 3 above {pos.1} to glass
set block 2 south 1 west 1 above {pos.1} to glass
set block 2 south 1 west 2 above {pos.1} to glass
set block 2 south 1 west 3 above {pos.1} to glass
set block 1 south 2 west 1 above {pos.1} to glass
set block 1 south 2 west 2 above {pos.1} to glass
set block 1 south 2 west 3 above {pos.1} to glass
set block 4 above {pos.1} to glass
set {pos.6} to block 4 above {pos.1}
set block 1 north 1 east of {pos.6} to glass
set block 1 north 1 west of {pos.6} to glass
set block 1 south 1 east of {pos.6} to glass
set block 1 south 1 west of {pos.6} to glass
set block 1 north of {pos.6} to glass
set block 1 south of {pos.6} to glass
set block 1 east of {pos.6} to glass
set block 1 west of {pos.6} to glass
[doublepost=1548761490,1548761456][/doublepost]and btw its not about the right amount of tags because they are right but it just didnt paste properly