Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Skrypt by WonderBoy
- # Zapraszam na http://wonderboy.cba.pl/
- variables:
- {tnt.status} = 1
- options:
- prefix: &f[&cTnT&f]
- command /tnt [<text>]:
- trigger:
- arg 1 is "on":
- player has permission "tnt.kontrola":
- set {tnt.status} to 1
- send "{@prefix} &cTNT &7zostalo wlaczone !"
- arg 1 is "off":
- player has permission "tnt.kontrola":
- set {tnt.status} to 0
- send "{@prefix} &cTNT &7zostalo wylaczone !"
- arg 1 is not set:
- send "{@prefix} &c/tnt <on/off>"
- on place a tnt:
- {tnt.status} is 0:
- player has permission "tnt.kontrola":
- stop
- else:
- send "{@prefix} &cTNT &7jest wylaczone!"
- cancel event
- on script load:
- wait 10 seconds
- send "{@prefix} Aktywowano wersje &f1.0.0&7 by WonderBoy." to console
- on skript stop:
- send "{@prefix} Deaktywowano wersje &f1.0.0&7 by WonderBoy." to console
Advertisement
Add Comment
Please, Sign In to add comment