Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- T: &7[&fTeams&7] &3●&f
- variables:
- {colorteaminfo1} = aqua
- {colorteaminfo2} = blue
- {colorteaminfo3} = black
- {colorteaminfo5} = dark aqua
- {colorteaminfo6} = dark blue
- {colorteaminfo7} = dark gray
- {colorteaminfo8} = dark green
- {colorteaminfo9} = dark purple
- {colorteaminfo10} = dark red
- {colorteaminfo11} = gold
- {colorteaminfo12} = gray
- {colorteaminfo13} = green
- {colorteaminfo14} = light purple
- {colorteaminfo16} = red
- {colorteaminfo18} = white
- {colorteaminfo19} = yellow
- {colorteam1} = aqua
- {colorteam2} = blue
- {colorteam3} = black
- {colorteam4} = bold
- {colorteam5} = dark_aqua
- {colorteam6} = dark_blue
- {colorteam7} = dark_gray
- {colorteam8} = dark_green
- {colorteam9} = dark_purple
- {colorteam10} = dark_red
- {colorteam11} = gold
- {colorteam12} = gray
- {colorteam13} = green
- {colorteam14} = light_purple
- {colorteam15} = italic
- {colorteam16} = red
- {colorteam17} = strikethrough
- {colorteam18} = white
- {colorteam19} = yellow
- {colorteam20} = underline
- on load:
- set {colorteaminfo15} to "italic"
- set {colorteaminfo20} to "underline"
- set {colorteaminfo17} to "strikethrough"
- set {colorteaminfo4} to "bold"
- command /t [<text>] [<text>] [<text>] [<text>] :
- permission: team.command
- trigger:
- loop 20 times:
- if {team%loop-num%.full} is not set:
- make console execute command "uhcCreateTeam UHC%loop-num%"
- if arg 4 is set:
- make console execute command "uhcJoinTeam UHC%loop-num% %arg 1%"
- make console execute command "uhcJoinTeam UHC%loop-num% %arg 2%"
- make console execute command "uhcJoinTeam UHC%loop-num% %arg 3%"
- make console execute command "uhcJoinTeam UHC%loop-num% %arg 4%"
- broadcast "{@T} Added &7%arg 1%&f, &7%arg 2%&f, &7%arg 3% &fand &7%arg 4% &fto <%{colorteaminfo%loop-num%}%>UHC%loop-num%"
- else if arg 3 is set:
- make console execute command "uhcJoinTeam UHC%loop-num% %arg 1%"
- make console execute command "uhcJoinTeam UHC%loop-num% %arg 2%"
- make console execute command "uhcJoinTeam UHC%loop-num% %arg 3%"
- broadcast "{@T} Added &7%arg 1%&f,&7%arg 2% &fand &7%arg 3% &f to <%{colorteaminfo%loop-num%}%>UHC%loop-num%"
- else if arg 2 is set:
- make console execute command "uhcJoinTeam UHC%loop-num% %arg 1%"
- make console execute command "www"
- broadcast "{@T} Added &7%arg 1% &fand &7%arg 2% &fto <%{colorteaminfo%loop-num%}%>UHC%loop-num%"
- make console execute command "scoreboard teams option UHC%loop-num% color %{colorteam%loop-num%}%"
- set {team%loop-num%.full} to true
- stop
- send "{@T} All Teams are full"
- command /teams clear [<text>]:
- permission: team.command
- trigger:
- if arg 1 is equal to "all":
- make player execute "clearteams all"
- loop 20 times:
- clear {team%loop-num%.full}
- send "{@T} All Teams removed"
- loop 20 times:
- if arg 1 is equal to "UHC%loop-num%":
- make player execute "scoreboard teams empty UHC%loop-num%"
- clear {team%loop-num%.full}
- send "{@T} <%{colorteaminfo%loop-num%}%>UHC%loop-num%&f removed"
- stop
Advertisement
Add Comment
Please, Sign In to add comment