Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Party Mode##################
- variables:
- {party.%player%.chat} = false
- {pchatView::%player%} = false
- {partyNumber.%player%} = 0
- {dungeon2Active} = false
- {pWater.%player%} = false
- {pEarth.%player%} = false
- {party.%player%.spy} = false
- aliases:
- glass = 20
- pane = 160:15
- snowball = 332
- endereye = 381
- prismarine shard = 409
- dragon egg = 122
- barrier = 166
- function pEarth(p: player):
- format slot 1 of {_p} with shiny endereye named "&2The Legend of Alkheim" with lore "&6The Dunhym Temple is a sacred temple where the parents||&6of Renhelm Dunhym were buried. Many people died trying to||&6find the Mysterious Eye of Dunhym, and return back, alive.||&7Party Size: &5Unlimited||&0&k1&d&lCURRENTLY SELECTED&0&k1" to be unstealable
- format slot 2 of {_p} with prismarine shard named "&9The Creeper's Cove" with lore "&6The Sunriders always have their plans. This time, they have decided||&6it's finally time to summon the Kraken and bring it back to the world.||&6What could be lurking deep down beneath the Creeper's Cove?||&7Party Size: &5Two Players" to be unstealable
- format slot 3 of {_p} with snowball named "&7Whitepeak Ruins" with lore "&6Coming Soon!" to be unstealable
- format slot 4 of {_p} with dragon egg named "&4Altar of Fire" with lore "&6Coming Soon!" to be unstealable
- format slot 5 of {_p} with barrier named "&4Coming Soon!" with lore "&6Coming Soon!" to be unstealable
- format slot 7 of {_p} with wool named "&6Party Quests" with lore "&6Coming Soon!" to be unstealable
- if {pEarth.%{_p}%} is true:
- stop
- loop {party.%{_p}%::*}:
- send "&f[&5Party&f] &6%{_p}% &7has chosen &2The Legend of Alkheim &7as your Party Quest." to loop-value
- set {pEarth.%{_p}%} to true
- set {pWater.%{_p}%} to false
- function pWater(p: player):
- format slot 1 of {_p} with endereye named "&2The Legend of Alkheim" with lore "&6The Dunhym Temple is a sacred temple where the parents||&6of Renhelm Dunhym were buried. Many people died trying to||&6find the Mysterious Eye of Dunhym, and return back, alive.||&7Party Size: &5Unlimited" to be unstealable
- format slot 2 of {_p} with shiny prismarine shard named "&9The Creeper's Cove" with lore "&6The Sunriders always have their plans. This time, they have decided||&6it's finally time to summon the Kraken and bring it back to the world.||&6What could be lurking deep down beneath the Creeper's Cove?||&7Party Size: &5Two Players||&0&k1&d&lCURRENTLY SELECTED&0&k1" to be unstealable
- format slot 3 of {_p} with snowball named "&7Whitepeak Ruins" with lore "&6Coming Soon!" to be unstealable
- format slot 4 of {_p} with dragon egg named "&4Altar of Fire" with lore "&6Coming Soon!" to be unstealable
- format slot 5 of {_p} with barrier named "&4Coming Soon!" with lore "&6Coming Soon!" to be unstealable
- format slot 7 of {_p} with wool named "&6Party Quests" with lore "&6Coming Soon!" to be unstealable
- if {pWater.%{_p}%} is true:
- stop
- loop {party.%{_p}%::*}:
- send "&f[&5Party&f] &6%{_p}% &7has chosen &9The Creeper's Cove &7as your Party Quest." to loop-value
- set {pWater.%{_p}%} to true
- set {pEarth.%{_p}%} to false
- function pAir(p: player):
- format slot 1 of {_p} with endereye named "&2The Legend of Alkheim" with lore "&6The Dunhym Temple is a sacred temple where the parents||&6of Renhelm Dunhym were buried. Many people died trying to||&6find the Mysterious Eye of Dunhym, and return back, alive.||&7Party Size: &5Unlimited" to be unstealable
- format slot 2 of {_p} with prismarine shard named "&9The Creeper's Cove" with lore "&6The Sunriders always have their plans. This time, they have decided||&6it's finally time to summon the Kraken and bring it back to the world.||&6What could be lurking deep down beneath the Creeper's Cove?||&7Party Size: &5Two Players" to be unstealable
- format slot 3 of {_p} with shiny snowball named "&7Whitepeak Ruins" with lore "&6Coming Soon!" to be unstealable
- format slot 4 of {_p} with dragon egg named "&4Altar of Fire" with lore "&6Coming Soon!" to be unstealable
- format slot 5 of {_p} with barrier named "&4Coming Soon!" with lore "&6Coming Soon!" to be unstealable
- format slot 7 of {_p} with wool named "&6Party Quests" with lore "&6Coming Soon!" to be unstealable
- function pFire(p: player):
- format slot 1 of {_p} with endereye named "&2The Legend of Alkheim" with lore "&6The Dunhym Temple is a sacred temple where the parents||&6of Renhelm Dunhym were buried. Many people died trying to||&6find the Mysterious Eye of Dunhym, and return back, alive.||&7Party Size: &5Unlimited" to be unstealable
- format slot 2 of {_p} with prismarine shard named "&9The Creeper's Cove" with lore "&6The Sunriders always have their plans. This time, they have decided||&6it's finally time to summon the Kraken and bring it back to the world.||&6What could be lurking deep down beneath the Creeper's Cove?||&7Party Size: &5Two Players" to be unstealable
- format slot 3 of {_p} with snowball named "&7Whitepeak Ruins" with lore "&6Coming Soon!" to be unstealable
- format slot 4 of {_p} with shiny dragon egg named "&4Altar of Fire" with lore "&6Coming Soon!" to be unstealable
- format slot 5 of {_p} with barrier named "&4Coming Soon!" with lore "&6Coming Soon!" to be unstealable
- format slot 7 of {_p} with wool named "&6Party Quests" with lore "&6Coming Soon!" to be unstealable
- function pMain(p: player):
- open chest with 2 rows named "&5Party Quest" to {_p}
- format slot 10 of {_p} with paper named "&6Click here to select this Dungeon" to run [pEarth({_p})]
- format slot 11 of {_p} with paper named "&6Click here to select this Dungeon" to run [pWater({_p})]
- format slot 12 of {_p} with paper named "&6Click here to select this Dungeon" to run [pAir({_p})]
- format slot 13 of {_p} with paper named "&6Click here to select this Dungeon" to run [pFire({_p})]
- format slot 14 of {_p} with barrier named "&4Coming Soon!" to be unstealable
- format slot 16 of {_p} with wool named "&6Party Quests" with lore "&6Coming Soon!" to be unstealable
- if {pEarth.%{_p}%} is true:
- pEarth({_p})
- else if {pWater.%{_p}%} is true:
- pWater({_p})
- else:
- format slot 1 of {_p} with endereye named "&2The Legend of Alkheim" with lore "&6The Dunhym Temple is a sacred temple where the parents||&6of Renhelm Dunhym were buried. Many people died trying to||&6find the Mysterious Eye of Dunhym, and return back, alive.||&7Party Size: &5Unlimited" to be unstealable
- format slot 2 of {_p} with prismarine shard named "&9The Creeper's Cove" with lore "&6The Sunriders always have their plans. This time, they have decided||&6it's finally time to summon the Kraken and bring it back to the world.||&6What could be lurking deep down beneath the Creeper's Cove?||&7Party Size: &5Two Players" to be unstealable
- format slot 3 of {_p} with snowball named "&7Whitepeak Ruins" with lore "&6Coming Soon!" to be unstealable
- format slot 4 of {_p} with dragon egg named "&4Altar of Fire" with lore "&6Coming Soon!" to be unstealable
- format slot 5 of {_p} with barrier named "&4Coming Soon!" with lore "&6Coming Soon!" to be unstealable
- format slot 7 of {_p} with wool named "&6Party Quests" with lore "&6Coming Soon!" to be unstealable
- function pMainL(p: player):
- open chest with 2 rows named "&5Party Quest" to {_p}
- format slot 10 of {_p} with paper named "&6Click here to select this Dungeon" to run [pEarth({_p})]
- format slot 11 of {_p} with paper named "&4Not Available" with lore "&4Too many people in your Party" to be unstealable
- format slot 12 of {_p} with paper named "&6Click here to select this Dungeon" to run [pAir({_p})]
- format slot 13 of {_p} with paper named "&6Click here to select this Dungeon" to run [pFire({_p})]
- format slot 14 of {_p} with barrier named "&4Coming Soon!" to be unstealable
- format slot 16 of {_p} with wool named "&6Party Quests" with lore "&6Coming Soon!" to be unstealable
- if {pEarth.%{_p}%} is true:
- pEarth({_p})
- else if {pWater.%{_p}%} is true:
- pWater({_p})
- else:
- format slot 1 of {_p} with endereye named "&2The Legend of Alkheim" with lore "&6The Dunhym Temple is a sacred temple where the parents||&6of Renhelm Dunhym were buried. Many people died trying to||&6find the Mysterious Eye of Dunhym, and return back, alive.||&7Party Size: &5Unlimited" to be unstealable
- format slot 2 of {_p} with prismarine shard named "&9The Creeper's Cove" with lore "&6The Sunriders always have their plans. This time, they have decided||&6it's finally time to summon the Kraken and bring it back to the world.||&6What could be lurking deep down beneath the Creeper's Cove?||&7Party Size: &5Two Players" to be unstealable
- format slot 3 of {_p} with snowball named "&7Whitepeak Ruins" with lore "&6Coming Soon!" to be unstealable
- format slot 4 of {_p} with dragon egg named "&4Altar of Fire" with lore "&6Coming Soon!" to be unstealable
- format slot 5 of {_p} with barrier named "&4Coming Soon!" with lore "&6Coming Soon!" to be unstealable
- format slot 7 of {_p} with wool named "&6Party Quests" with lore "&6Coming Soon!" to be unstealable
- on left click:
- player is holding paper with lore "&7Quest Type: &3Dungeon||&7Raid Difficulty: &4Hard||&7Recommended: &a2 Players||&9Left Click at Dungeon Door to Enter.||&9Right Click to start the Quest." named "&3The Legend Beneath the Waves"
- set {_region} to "%region at location of player%"
- if {_region} contains "coveenter":
- if {dungeon2Active} is true:
- send "&8[&3Quest&8] &7A Party is currently going through the dungeon!"
- stop
- else if {party.%player%} is not set:
- send "&8[&3Quest&8] &7You are not in a party!"
- stop
- else if {party.%player%} is not equal to player:
- send "&8[&3Quest&8] &7You are not the Party Leader! Have &6%{party.%player%}% &7use the item to enter the dungeon."
- stop
- else if {party.%player%} is equal to player:
- if {pWater.%player%} is true:
- loop {party.%player%::*}:
- send "&8[&3Quest&8] &7You are now entering &9The Creeper's Cove&7." to loop-value
- execute console command "/warp coveroom1 %loop-value%"
- set {dungeon2Active.%loop-value%} to true
- remove 1 paper with lore "&7Quest Type: &3Dungeon||&7Raid Difficulty: &4Hard||&7Recommended: &a2 Players||&9Left Click at Dungeon Door to Enter.||&9Right Click to start the Quest." named "&3The Legend Beneath the Waves" from the player
- set {dungeon2Active} to true
- else:
- send "&8[&3Quest&8] &7You must have &9The Creeper's Cove &7selected as your Party Quest!"
- stop
- else:
- stop
- else:
- stop
- command /partyfix:
- trigger:
- set {partyac.%player%} to false
- command /party [<text>] [<player>]:
- description: Party Mode
- trigger:
- if arg 1 is not set:
- if {party.%player%} is not set:
- message "&f[&5Party&f] &7You are not in a party!"
- stop
- else:
- message "&f[&5Party&f] &7Party Leader: &6%{party.%player%}%"
- loop {party.%{party.%player%}%::*}:
- if {_show} is not set:
- set {_show} to loop-value
- else:
- set {_show} to "%{_show}%, %loop-value%"
- send "&f[&5Party&f] &7Party Members: &6%{_show}%"
- message "&f[&5Party&f] &7Party Size: &6%{partyNumber.%{party.%player%}%}% members"
- else if arg 1 is "help":
- play raw sound "random.pop" at player with pitch 0.1 volume 0.3
- message "&f[&5Party&f] &c/party &7- Shows who is in the Party."
- message "&f[&5Party&f] &c/party create &7- Creates a new Party."
- message "&f[&5Party&f] &c/party help &7- Shows the commands you can do for /party."
- message "&f[&5Party&f] &c/party invite [player] &7- Invites the player you specified. Party Leaders Only."
- message "&f[&5Party&f] &c/party accept [player] &7- Accepts an invite from the player you specified."
- message "&f[&5Party&f] &c/party decline [player] &7- Declines an invite from the player you specified."
- message "&f[&5Party&f] &c/party kick [player] &7-Kicks the specified player from the Party. Party Leaders Only."
- message "&f[&5Party&f] &c/party promote [player] &7-Makes the specified player the leader. Party Leaders Only."
- message "&f[&5Party&f] &c/party leave &7- Leaves the Party you are in."
- message "&f[&5Party&f] &c/party disband &7- Disbands the Party you created. Party Leaders Only."
- message "&f[&5Party&f] &c/party quest &7- Opens the Party Quest Menu. Party Leaders Only."
- message "&f[&5Party&f] &c/party surrender &7- Ends your Dungeon Run. Party Leaders Only."
- message "&f[&5Party&f] &c/party chat &7- Toggles Party Chat."
- else if arg 1 is "create":
- if {party.%player%} is set:
- send "&f[&5Party&f] &7You are already in a party!"
- stop
- else:
- send "&f[&5Party&f] &7You created a party!"
- play raw sound "random.pop" at player with pitch 1 volume 0.3
- play raw sound "random.orb" at player with pitch 1 volume 0.3
- set {party.%player%} to player
- add player to {party.%player%::*}
- set {partyNumber.%player%} to 1
- stop
- else if arg 1 is "invite":
- {partyac.%player arg%} is true:
- send "&f[&5Party&f] &7You already sent a request to &6%player arg%! &7Wait for a response."
- stop
- loop {party.%player%::*}:
- player arg is equal to loop-value:
- send "&f[&5Party&f] &6%player arg% &cis already in your party!"
- stop
- {party.%player arg%} is set:
- send "&f[&5Party&f] &6%player arg% &7is already in a party."
- stop
- {party.%player%} is not player:
- send "&f[&5Party&f] &cOnly Party Leaders can use this command!"
- stop
- {party.%player%} is player:
- {party.%player%} is equal to player arg:
- send "&f[&5Party&f] &cYou can't invite yourself to your party."
- stop
- play raw sound "random.pop" at player with pitch 0.1 volume 0.3
- play raw sound "random.orb" at player with pitch 0.1 volume 0.3
- play raw sound "random.pop" at player arg with pitch 0.1 volume 0.3
- play raw sound "random.orb" at player arg with pitch 0.1 volume 0.3
- loop {party.%player%::*}:
- send "&f[&5Party&f] &7%player% sent a party invite to &6%player arg%&7. Waiting on a response..." to loop-value
- send "&f[&5Party&f] &7You were invited to &6%player%'s &7Party. Accept or Decline?" to player arg
- execute console command "/tellraw %player arg% ["""",{""text"":""["",""clickEvent"":{""action"":""run_command"",""value"":""""}},{""text"":""Accept"",""color"":""dark_green"",""clickEvent"":{""action"":""run_command"",""value"":""/party accept %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""Join the Party"",""color"":""dark_green""}]}}},{""text"":""]"",""color"":""none""}]"
- execute console command "/tellraw %player arg% ["""",{""text"":""["",""clickEvent"":{""action"":""run_command"",""value"":""""}},{""text"":""Decline"",""color"":""red"",""clickEvent"":{""action"":""run_command"",""value"":""/party decline %player%""},""hoverEvent"":{""action"":""show_text"",""value"":{""text"":"""",""extra"":[{""text"":""Decline the Party"",""color"":""red""}]}}},{""text"":""]"",""color"":""none""}]"
- set {partyac.%player arg%} to true
- set {partyClick::%{button.%player%}%} to false
- wait 30 seconds
- {partyClick::%{button.%player%}%} is false:
- send "&f[&5Party&f] &6%player arg% &7did not take any action within 30 seconds. Cancelling..."
- make arg 2 execute command "/party decline %player%"
- stop
- stop
- else if arg 1 is "accept":
- {partyClick::%{button.%player arg%}%} is true:
- send "&f[&5Party&f] &7You don't have a pending invite."
- stop
- {party.%player arg%.leader} is player:
- send "&f[&5Party&f] &7You can't join your own party!" to player arg
- stop
- {party.%player%} is set:
- send "&f[&5Party&f] &7You are already in &6%player arg%'s &7party!"
- stop
- {party.%player%} is not set:
- set {partyClick::%{button.%player%}%} to true
- {partyac.%player%} is not true:
- send "&f[&5Party&f] &7You don't have a party to join."
- stop
- send "&f[&5Party&f] &7You joined &6%player arg%'s &7party!"
- loop {party.%player arg%::*}:
- send "&f[&5Party&f] &6%player% joined your party!" to loop-value
- play raw sound "random.pop" at player with pitch 0.1 volume 0.3
- play raw sound "random.orb" at player with pitch 0.1 volume 0.3
- play raw sound "random.pop" at player arg with pitch 0.1 volume 0.3
- play raw sound "random.orb" at player arg with pitch 0.1 volume 0.3
- set {party.%player%} to player arg
- add player to {party.%player arg%::*}
- add 1 to {partyNumber.%player arg%}
- set {partyClick::%{button.%player arg%}%} to true
- set {partyac.%player%} to false
- stop
- else if arg 1 is "decline":
- {partyClick::%{button.%player arg%}%} is true:
- send "&f[&5Party&f] &7You don't have a pending invite."
- stop
- {partyac.%player%} is not true:
- send "&f[&5Party&f] &7You don't have a party invite to decline."
- stop
- send "&f[&5Party&f] &7You declined to join &6%player arg%'s &7party."
- loop {party.%player arg%::*}:
- send "&f[&5Party&f] &6%player% &7has declined to join the party." to loop-value
- set {partyac.%player%} to false
- set {partyClick::%{button.%player arg%}%} to true
- stop
- else if arg 1 is "disband":
- {party.%player%} is not equal to player:
- send "&f[&5Party&f] &cOnly Party Leaders can use this command!"
- stop
- {party.%player%} is not set:
- send "&f[&5Party&f] &7You are not in a party!"
- stop
- loop {party.%player%::*}:
- send "&f[&5Party&f] &6%player% &chas disbanded the party." to loop-value
- play raw sound "random.pop" at loop-value with pitch 0.1 volume 0.3
- play raw sound "random.orb" at loop-value with pitch 0.1 volume 0.3
- delete {party.%loop-value%}
- delete {party.%loop-value%.chat}
- delete {party.%loop-value%.leader}
- delete {party.%player%::*}
- delete {partyNumber.%player%}
- delete {pWater.%player%}
- delete {pEarth.%player%}
- stop
- else if arg 1 is "promote":
- if {party.%player%} is not set:
- message "&f[&5Party&f] &cYou are not in a party!"
- stop
- else:
- {party.%player%} is not player:
- message "&f[&5Party&f] &cOnly Party Leaders can use this command!"
- stop
- {party.%player%::*} doesn't contain player arg:
- message "&f[&5Party&f] &6%player arg% &cis not in your party."
- stop
- send "&f[&5Party&f] &7You promoted &6%player arg% &7to Party Leader."
- send "&f[&5Party&f] &7You have been promoted by &6%player% &7to Party Leader." to player arg
- loop {party.%player%::*}:
- set {party.%loop-value%} to player arg
- add loop-value to {party.%player arg%::*}
- add 1 to {partyNumber.%player arg%}
- loop-value is not player or player arg:
- message "&f[&5Party&f] &6%player arg% &7has been promoted to Party Leader." to loop-value
- delete {party.%player%::*}
- delete {partyNumber.%player%}
- delete {pWater.%player%}
- delete {pWater.%player%}
- else if arg 1 is "leave":
- if {party.%player%} is not set:
- message "&f[&5Party&f] &cYou are not in a party!"
- else:
- if {party.%player%} is player:
- message "&f[&5Party&f] &cYou are the Party Leader! Type /party leader [player] if you want to make someone else leader."
- stop
- message "&f[&5Party&f] &cYou left the party."
- loop {party.%{party.%player%}%::*}:
- if loop-value = player:
- delete {party.%{party.%player%}%::%loop-index%}
- message "&f[&5Party&f] &6%player% &chas left your party." to loop-value
- remove 1 from {partyNumber.%{party.%player%}%}
- wait 1 tick
- delete {party.%player%}
- delete {party.%player%.chat}
- delete {pWater.%player%}
- delete {pWater.%player%}
- else if arg 1 is "kick":
- if {party.%player%} is not set:
- message "&f[&5Party&f] &cYou are not in a party!"
- else:
- if {party.%player%} is not player:
- message "&f[&5Party&f] &cOnly Party Leaders can use this command!"
- stop
- if player arg is not set:
- message "&f[&5Party&f] &cYou did not specify a player to kick."
- if {party.%player%} = player arg:
- message "&f[&5Party&f] &cYou can't kick yourself from the party!"
- stop
- else:
- if {party.%player%::*} doesn't contain player arg:
- message "&f[&5Party&f] &6%player arg% &cis not in your party."
- stop
- message "&f[&5Party&f] &cYou kicked &6%player arg% &cfrom the party."
- message "&f[&5Party&f] &cYou've been kicked from the party by &6%player%&c." to player arg
- remove 1 from {partyNumber.%player%}
- wait 1 tick
- loop {party.%player%::*}:
- if loop-value = player arg:
- delete {party.%player%::%loop-index%}
- send "&f[&5Party&f] &6%player arg% &chas been kicked from the party by &6%player%&c." to loop-value
- delete {party.%player arg%}
- delete {party.%player arg%.chat}
- delete {pWater.%player arg%}
- delete {pEarth.%player arg%}
- else if arg 1 is "quest":
- if {party.%player%} is not set:
- message "&f[&5Party&f] &cYou are not in a party!"
- else:
- if {party.%player%} is not player:
- message "&f[&5Party&f] &cOnly Party Leaders can use this command!"
- stop
- else if {partyNumber.%player%} is greater than 2:
- pMainL(player)
- else if {partyNumber.%player%} is less than 3:
- pMain(player)
- else if arg 1 is "surrender":
- if {party.%player%} is not set:
- message "&f[&5Party&f] &cYou are not in a party!"
- else:
- if {party.%player%} is not player:
- message "&f[&5Party&f] &cOnly Party Leaders can use this command!"
- stop
- else if {dungeon2Active.%player%} is false:
- message "&f[&5Party&f] &cYou are not in a Dungeon!"
- stop
- else:
- loop {party.%player%::*}:
- send "&f[&5Party&f] &6%player% &7has decided to stop your Dungeon Run." to loop-value
- make loop-value execute command "/spawn"
- set {dungeon2Active} to false
- set {dungeon2Active.%player%} to false
- else if arg 1 is "up":
- player has permission "kukky.perms"
- make player execute command "/partyupdate"
- else:
- send "&f[&5Party&f] &cThat is not a command! Type /party help for a list of things you can do."
- on quit:
- {party.%player%} is set:
- if {party.%player%} is player:
- loop {party.%player%::*}:
- send "&f[&5Party&f] &cYour party leader has quit. Disbanding the party..." to loop-value
- make player execute command "/party disband"
- make player execute command "/party surrender"
- else if {party.%player%} is not player:
- loop {party.%{party.%player%}%::*}:
- send "&f[&5Party&f] &6%player% &chas disconnected. They have &4one minute &cto reconnect before they get kicked from the party." to loop-value
- set {party.%player%.chat} to false
- wait 1 minute
- player is offline:
- loop {party.%{party.%player%}%::*}:
- send "&f[&5Party&f] &6%player% &chas failed to reconnect within one minute. Kicking from the party..." to loop-value
- make player execute command "/party leave"
- stop
- on join:
- {party.%player%} is set:
- loop {party.%{party.%player%}%::*}:
- send "&f[&5Party&f] &6%player% &chas reconnected." to loop-value
- loop {party.%{party.%player%}%::*}:
- if loop-value = player:
- delete {party.%{party.%player%}%::%loop-index%}
- wait 1 tick
- add player to {party.%{party.%player%}%::*}
- command /partyoff:
- trigger:
- message "%{relog::*}%"
- delete {relog::*}
- message "%{party.%player%::*}%"
- command /partyop [<text>] [<player>]:
- permission: kukky.perms
- trigger:
- arg 1 is "join":
- {party.%player arg%} is not set:
- send "&f[&5Party&f] &cThat player is not in a party!"
- stop
- {party.%player arg%} is not equal to player arg:
- send "&f[&5Party&f] &cThat player doesn't have a party!"
- stop
- set {party.%player%} to player arg
- add player to {party.%player arg%::*}
- add 1 to {partyNumber.%player arg%}
- send "&f[&5Party&f] &7You joined &6%player arg%'s &7party."
- wait 1 tick
- loop {party.%player arg%::*}:
- send "&f[&5Party&f] &6%player% &cjoined your party without permission." to loop-value
- arg 1 is "usurp":
- {party.%player arg%} is not equal to player arg:
- send "&f[&5Party&f] &cThat player isn't the leader of a party!"
- stop
- {party.%player%} is equal to player arg:
- set {partyNumber.%player%} to 1
- loop {party.%player arg%::*}:
- set {party.%loop-value%} to player
- add loop-value to {party.%player%::*}
- add 1 to {partyNumber.%player%}
- wait 2 ticks
- delete {party.%player arg%::*}
- delete {partyNumber.%player arg%}
- loop {party.%player%::*}:
- send "&f[&5Party&f] &6%player% &chas usurped the Party Leadership!" to loop-value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement