on place:
if player's tool is a calcite named "teleporter1":
message "tele1 placed"
set {_tele} to event-block
add {_tele} to {teleportersTest1::*}
on place:
if player's tool is a calcite named "teleporter2":
message "tele2 placed"
set {_tele} to event-block
add {_tele} to {teleportersTest2::*}
on break:
if event-block is calcite:
message "tele broken"
remove event-block from {teleportersTest1::*}
remove event-block from {teleportersTest2::*}
on step on calcite:
message "p"
if event-block is in {teleportersTest1::*}:
message "e"
I'm trying to make a calcite block detect if it's in a variable when you step on it, when I reload the script, it has no errors but when I step on calcite that should be in the variable it doesn't say e to the player. I'm probably dumb but could someone help?