I need help with a marketplace plot claiming system

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

master_of_pooms

Active Member
May 28, 2023
131
10
18
This is my current code:
command /mpbuyplot <text>:
usage: /mpbuyplot <id>
trigger:
set {plot} to arg-1
if owner of arg-1 is set:
send "&cSorry, Someone owns that"
else:
if player's balance is greater than 6000:
send "Check 1 complete: You have a sunificant balance"
# I Need help here #
send "&aSucessfully Purchased Plot %arg-1%, you may have to rejoin for changes to take affect"
send "&cMake sure to remove the signs saying that the plot is for sale"
else:
send "&cYou lack funds"
I need help setting the owner of the region (thats what #I need help here# marks)
Ive tried many things, It reloads with no errors. Just doesnt work