Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- set {pu2.0::title} to "&4[&cPu&4]&c"
- command /punishment [<offline player>]:
- aliases: pu
- trigger:
- if arg 1 is set:
- open chest with 2 rows named "&4&l%arg 1%" to player
- format slot 0 of player with a diamond named "&b&lX-Ray" with lore "&77 dagen ban" to close then run [execute console command "/cpu %arg 1% X-Ray"]
- stop
- else:
- send "%{pu2.0::title}% Je moet nog een speler opgeven."
- stop
- command /cpu [<offline player>] [<text>]:
- trigger:
- if executor is console:
- if arg 2 is "X-Ray":
- kick arg 1 due to "&6&lBanned!%nl%&4Rede: &cX-Ray%nl%&4Ban date: &c%now%%nl%&4Unban over: &c%{ban::%arg 1%::unban}%%nl%&4Appeal: &cNee"
- stop
Advertisement
Add Comment
Please, Sign In to add comment