Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &5&lParty &8:&7
- command /party [<text>] [<text>]:
- trigger:
- if arg-1 is "help":
- send "&8&m &8[ &5Party &8]&m "
- send "<ttp:&7Invite a player to your party><sgt:/party invite>&d/party invite <player>"
- send "<ttp:&7Accept a party invite><sgt:/party accept>&d/party &8(&daccept &8| &djoin&8) &d<player>"
- send "<ttp:&7Leave a party><sgt:/party leave>&d/party leave"
- send "<ttp:&7Promote a player to party leader><sgt:/party promote>&d/party promote <player>"
- send "<ttp:&7Kick a player from your party><sgt:/party kick>&d/party kick <player>"
- send "<ttp:&7Enable, disable or send a message in party chat><sgt:/party chat>&d/party chat [message]"
- send "&8&m &8[ &5Party &8]&m "
- else if arg-1 is "invite":
- else if arg-1 is "accept" or "join":
- else if arg-1 is "leave":
- #LEADER? CANCEL, LESS THAN 2 PLAYERS? REMOVE PARTY
- else if arg-1 is "promote":
- else if arg-1 is "kick":
- else if arg-1 is "chat":
- if {party.%player%} is set:
- if arg-2 is set:
- if {party.%player%} is set:
- send "{@logo} %arg-2%" to {party.%{party.%player%}%.players::*}
- else:
- if {party.%player%.chat} is true:
- delete {party.%player%.chat}
- send "{@logo} Your party chat has been &ddisabled&7."
- play "UI_BUTTON_CLICK" to player at volume 10
- else:
- set {party.%player%.chat} to true
- send "{@logo} Your party chat has been &denabled&7."
- play "UI_BUTTON_CLICK" to player at volume 10
- else:
- send "{@logo} You aren't in a party."
- else:
- send "{@logo} Do &d/party help &7for more info."
- on quit:
- #REMOVE FROM PARTY
- on join:
- #SEND REMOVED FROM PARTY
Add Comment
Please, Sign In to add comment