Zeldaboy111

Party ]|[ Skript #314

May 24th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. options:
  2. logo: &5&lParty &8:&7
  3.  
  4.  
  5. command /party [<text>] [<text>]:
  6. trigger:
  7. if arg-1 is "help":
  8. send "&8&m &8[ &5Party &8]&m "
  9. send "<ttp:&7Invite a player to your party><sgt:/party invite>&d/party invite <player>"
  10. send "<ttp:&7Accept a party invite><sgt:/party accept>&d/party &8(&daccept &8| &djoin&8) &d<player>"
  11. send "<ttp:&7Leave a party><sgt:/party leave>&d/party leave"
  12. send "<ttp:&7Promote a player to party leader><sgt:/party promote>&d/party promote <player>"
  13. send "<ttp:&7Kick a player from your party><sgt:/party kick>&d/party kick <player>"
  14. send "<ttp:&7Enable, disable or send a message in party chat><sgt:/party chat>&d/party chat [message]"
  15. send "&8&m &8[ &5Party &8]&m "
  16.  
  17. else if arg-1 is "invite":
  18.  
  19. else if arg-1 is "accept" or "join":
  20.  
  21. else if arg-1 is "leave":
  22. #LEADER? CANCEL, LESS THAN 2 PLAYERS? REMOVE PARTY
  23.  
  24.  
  25. else if arg-1 is "promote":
  26.  
  27.  
  28. else if arg-1 is "kick":
  29.  
  30. else if arg-1 is "chat":
  31. if {party.%player%} is set:
  32. if arg-2 is set:
  33. if {party.%player%} is set:
  34. send "{@logo} %arg-2%" to {party.%{party.%player%}%.players::*}
  35.  
  36. else:
  37. if {party.%player%.chat} is true:
  38. delete {party.%player%.chat}
  39. send "{@logo} Your party chat has been &ddisabled&7."
  40. play "UI_BUTTON_CLICK" to player at volume 10
  41.  
  42. else:
  43. set {party.%player%.chat} to true
  44. send "{@logo} Your party chat has been &denabled&7."
  45. play "UI_BUTTON_CLICK" to player at volume 10
  46.  
  47. else:
  48. send "{@logo} You aren't in a party."
  49. else:
  50. send "{@logo} Do &d/party help &7for more info."
  51.  
  52. on quit:
  53. #REMOVE FROM PARTY
  54.  
  55. on join:
  56. #SEND REMOVED FROM PARTY
Add Comment
Please, Sign In to add comment