Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {tnt::status} = true
- command /tnt1 [<text>]:
- permission: tnt.admin
- permission message: &cBrak uprawnien!
- trigger:
- if {tnt::status} is true:
- if arg is "off":
- set {tnt::status} to false
- broadcast "&7TNT zostalo &cwylaczone!"
- stop
- else:
- if arg is "on":
- set {tnt::status} to true
- broadcast "&7TNT zostalo &awlaczone!"
- stop
- on place:
- if event-block is tnt:
- if {tnt::status} is false:
- cancel event
- send "&7TNT jest &cwylaczone"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement