command /portal [<text>] [<text>] [<text>]: trigger: if arg 1 is "stworz": if arg 2 is set: if arg 3 is set: set {_x} to rounded x-location of player set {_y} to rounded y-location of player remove 1 from {_y} set {_z} to rounded z-location of player set {portal::%arg 2%::location} to location at {_x}, {_y}, {_z} set {portal::%arg 2%::name} to "%arg 2%" set {portal::%arg 2%::command} to "%arg 3%" add "%arg 2%" to {portals::*} stop if arg 1 is "usun": if arg 2 is set: delete {portal::%arg 2%::location} delete {portal::%arg 2%::name} delete {portal::%arg 2%::command} remove "%arg 2%" from {portals::*} stopon any move: loop {portals::*}: set {_x} to rounded x-location of block under the player set {_y} to rounded y-location of block under the player set {_z} to rounded z-location of block under the player set {_loc} to location at {_x}, {_y}, {_z} broadcast "%{_loc}% = %{portal::%loop-value%::location}%" if {_loc} is {portal::%loop-value%::location}: run player command "%{portal::%loop-value%::command}%" as op Jedyny problem jest taki, że trzeba się dobrze ustawić, a oprócz tego wszystko działa tak jak powinno.