command /contract [] []: trigger: if arg-1 is "help": send "&7/contract give " send "&7/contract accept " send "&7/contract deny " if arg-1 is "give": send "&7You have sent a house contract to &a%arg-2%&7!" send "&7You have recieved a house contract from &a%player%&7!" to arg-2 send "&7If you would wish to accept this type /contract accept " to arg-2 if arg-1 is "accept": send "&7You have &aaccepted &7this &acontract&7!" send "&a%player% &7has accepted &ayour &7contract!" to arg-2 command /pay [] ]: trigger: loop all players: if arg-1 is not set: if arg-2 is not set: send "&cIncorrect usage" wait 2 seconds send "" send "&7The correct usage is &c/pay " if arg-1 is set: if arg-2 is set: if arg-2 is less than {tokens.%loop-player%}" send "&7You don't have enough &ctokens&7! &8(%{tokens.%loop-player%}%&8)" if arg-2 is more than {tokens.%loop-player%} remove arg-2 from {tokens.%loop-player%} add arg-2 to {tokens.%arg-1%} send "&7You have paid &c%arg-1% %arg-2% &7tokens!" send "&c%player% &7has paid you &c%arg-2% &7tokens!" to arg-1 stop every second in "world": loop all players: wipe loop-player's sidebar set name of sidebar of loop-player to "&eTokens: &8| &e%{tokens.%loop-player%}%" set score "&c&m---------------" in sidebar of loop-player to 14 set score "&7" in sidebar of loop-player to 13 set score " &ePlayer: &8» &e%loop-player%" in sidebar of loop-player to 12 set score " &eKills: &8» &e%{kills.%loop-player%}%" in sidebar of loop-player to 11 set score " &eDeaths &8» &e%{deaths.%loop-player%}%" in sidebar of loop-player to 10 set score " &ePlaytime &8» &e%{playtime.%loop-player%}%" in sidebar of loop-player to 9 set score "&f" in sidebar of loop-player to 8 set score "&7&oyeetblue.minehut.gg" in sidebar of loop-player to 7 set score "&c&m---------------" in sidebar of loop-player to 6