benjamonkey175 Posted November 11, 2020 Share Posted November 11, 2020 Have you heard of One block if you need an example please check this video out 0:05 0:15 seconds i want to turn this into a skript and use in a server is anyone willing to help with this thankyou i would want this skript by anytime i want to it have a command that enables and disables the item drop thing on a players island i have a island skript its this command is <text>: usage: &c/is create/home trigger: if arg-1 is "create": if {island::%player's uuid%} is not set: execute console command "/mv clone Skyisland %player's uuid%" send action bar "&7(&c&l!&7) &eIsland Generating &7(&c&l!&7)" to player wait 2.5 seconds execute console command "/mvtp %player% %player's uuid%" set {island::%player's uuid%} to true else: send formatted "&cYou already have an island." to player else if arg-1 is "home": if {island::%player's uuid%} is not set: send "&c&lERROR &7| &bYou need to create a island first." to player else: execute console command "/mvtp %player% %player's uuid%" else if arg-1 is "delete": if {island::%player's uuid%} is set: set {deletion::%player's uuid%} to true send "&e&lISLAND &7| &bType &aconfirm &bin chat to confirm your island deletion." to player on chat: if message is "confirm": if {deletion::%player's uuid%} is set: cancel event delete {deletion::%player's uuid%} teleport player to {spawn} wait 2.5 seconds execute console command "/mv delete %player's uuid%" execute console command "/mv confirm" delete {island::%player's uuid%} send action bar "&7(&c&l!&7) &eIsland Deleted &7(&c&l!&7)" to player command setspawn: permission: op trigger: set {spawn} to location of player command spawn: trigger: teleport player to {spawn} I hope you guys can work with this Link to comment Share on other sites More sharing options...
PurplePixel_YT Posted November 12, 2020 Share Posted November 12, 2020 Bruh put this in Marketplace Link to comment Share on other sites More sharing options...
RookiePlayer Posted November 13, 2020 Share Posted November 13, 2020 (edited) I didn't totally get the syntax of ifs and elses, but I hope I made it a bit better. Also, enjoy the spoonfeed. command /island [<text>]: usage: &c/is create/home trigger: if arg-1 is "create": if {island::%player's uuid%} is not set: execute console command "/mv clone Skyisland %player's uuid%" send action bar "&7(&c&l!&7) &eIsland Generating &7(&c&l!&7)" to player wait 2.5 seconds execute console command "/mvtp %player% %player's uuid%" set {island::%player's uuid%} to true else: if {island::%player's uuid%} is set: execute console command "/mvtp %player% %player's uuid%" send formatted "&cYou already have an island." to player else: if arg-1 is "home": execute console command "/mvtp %player% %player's uuid%" if {island::%player's uuid%} is not set: send "&c&lERROR &7| &bYou need to create a island first." to player else: else: if arg-1 is "delete": if {island::%player's uuid%} is set: set {deletion::%player's uuid%} to true send "&e&ISLAND &7| &bType &aconfirm &bin chat to confirm your island deletion." to player on chat: if message contains "confirm": if {deletion::%player's uuid%} is set: cancel event delete {deletion::%player's uuid%} teleport player to {spawn} wait 2.5 seconds execute console command "/mv delete %player's uuid%" execute console command "/mv confirm" delete {island::%player's uuid%} send action bar "&7(&c&l!&7) &eIsland Deleted &7(&c&l!&7)" to player command /setspawn: permission: op trigger: set {spawn} to location of player command /spawn: trigger: teleport player to {spawn} 1bsb.sk Edited November 13, 2020 by RookiePlayer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now