Tu na tnt masz
variables:
{tnt.bloka} = 1
options:
prefix: [&6TNT]
command /tnt [<text>]:
trigger:
arg 1 is "on":
player is op
set {tnt.boka} to 1
send "{@prefix} <red>tnt <green>zostalo wlaczone"
arg 1 is "off":
player is op
set {tnt.boka} to 0
send "{@prefix} <red>tnt <green>zostalo wylaczone"
arg 1 is not set:
send "{@prefix} <red>/tnt (on/off)"
on place tnt:
player is op
{tnt.bloka} is 0:
send "{@prefix} <red>tnt <green>jest wylaczone"
cancel event