Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=====================================#
- #=---Matchpost Skript by /u/haon35---=#
- #=====================================#
- options:
- C: §7Matchpost §8»
- command /matchpost [<text>]:
- trigger:
- if arg-1 is set:
- if player is op:
- if arg-1 contains "https://redd.it":
- set {MatchPost} to arg 1
- send "§7§o[%command sender% : changed the matchpost to » %arg-1%.]"
- broadcast "{@C} §7%{MatchPost}%"
- else:
- send "{@C} §7Bad format !"
- else:
- send "{@C} §7You are not allowed to change the matchpost !"
- wait 10 ticks
- send "{@C} §7%{MatchPost}%"
- else:
- if {MatchPost} is set:
- send "{@C} §7%{MatchPost}%"
- send json of "{@C}" open "%{Matchpost}%" to player
- else:
- send "{@C} §7The Matchpost is not set !"
- if arg-1 is "remove":
- if player is op:
- delete {Matchpost}
- send "{@C} §7Matchpost deleted"
- else:
- send "{@C} §7You are not allowed to delete the matchpost !"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement