Jump to content

Pryzmm

Moderator
  • Posts

    1,907
  • Joined

  • Last visited

  • Days Won

    33

Everything posted by Pryzmm

  1. I dont think its possible to refund a purchase. You can, however, vote for the server for some credits every day
  2. How do i call a function while im calling it in a function The first part of the skript is in a function format slot 11 of {_p} with wooden sword named "&f&lWooden Sword" with lore "" and "&6300 Coins" to close then run [BuyWoodSword({_p})] The second is a function being called in a function function BuyWoodSword(p: player): set {_u} to uuid of {_p} if {balance::%{_u}%} >= 300: remove 300 from {balance::%{_u}%} give wooden sword to {_p} send "&aSuccessfully purchased &2Wooden Sword!" to {_p} else: send "&4&lError: &cInsufficent Balance!" to {_p} EDIT: i don't get any errors but when i click the sword, it closes but dosent do anything
  3. I have another question tho. How do i call for a function in a function? Here are my 2 peices of skript: (first one is in a function) format slot 11 of {_p} with wooden sword named "&f&lWooden Sword" with lore "" and "&6300 Coins" to close then run [BuyWoodSword({_p})] function BuyWoodSword(p: player): set {_u} to uuid of {_p} if {balance::%{_u}%} >= 300: remove 300 from {balance::%{_u}%} give wooden sword to {_p} send "&aSuccessfully purchased &2Wooden Sword!" to {_p} else: send "&4&lError: &cInsufficent Balance!" to {_p}
  4. thanks turns out i didn't call for the function
  5. you can use just 1 variable to teleport a player to set {Teleport} to location of player teleport player to {Teleport}
  6. This has been happening to me alot recently. I don't know why
  7. dosent work What i mean is the function dosent work
  8. function BuyDirt(p: player): if {DirtPurchased.%{_p}%} is not set: # makes it so you can only purchase once if {balance::%{_p}'s uuid%} >= 20000: # check if player has sufficent balance set {DirtPurchased.%{_p}%} to true # makes it so you can only purchase once remove 20000 from {balance::%{_p}'s uuid%} # removes money from balance make console execute command "SetBooster %{_p}% 2" # sets players boost from console else: send "&4&lError: &cInsufficent Balance!" to {_p} # message saying not enough money else: send "&4&lError: &cYou already purchased this!" to {_p} # message saying already purchase Im having trouble with this. When i click a GUI item its supposed to do this, yet it dosent. Heres the line: format slot 0 of player with dirt named "&7&lDirt Boost" with lore "&7This booster multiplys", "&7money by 2!" and "&6Cost: 20000" to run [set {DirtPP.%player%} to true]
  9. Pryzmm

    Can't connect to server

    Is the server whitelisted?
  10. Is the server whitelisted? If so, are you whitelisted? If you aren't whitelisted, go to the console and type /whitelist add <username> or /whitelist off
  11. Pryzmm

    2000 Posts!

    Now to never post again to keep it at 2000 lmao
  12. Seems nice, only thing is that its for 1.16.2. Minehut severs are 1.16.3 or 1.16.4 i think...
  13. Lmao he necroposted on his own post
  14. please don't necropost... or post like 3 times...
  15. i want to check if a message contains a % of numbers, (e.g. code below) on chat: if 25% or more of message contains numbers: Anyway to solve this?
  16. Brewery involves stuff that goes against minehuts rules. And Minecraft health and hunger being shared is possible to create through skript.
  17. Pryzmm

    Download Previous Logs

    I don't understand why we can't view earlier logs.
  18. This can sometimes mean you have bad internet, or something happened to the server and crashed.
  19. does noone notice the big ol' giant in the background?
  20. Oh my Install Skript on your minecraft server. Then restart. Once you have skript, go to minehut.com > Dashboard > File Manager > Plugins > Skript > scripts > Create a file (e.g. name: Manhunt.sk) must end with .sk. Go to the link provided by goose (https://parser.skunity.com/c77b0ff8) then paste that into the file. Once you do that go in minecraft and type /sk reload Manhunt.sk
  21. Still can't compare with an integer :/
×
×
  • Create New...