belac136 Posted August 8, 2021 Share Posted August 8, 2021 I have some warp commands i have been working on, and i just added the farm. It worked before, but now it gives me this error: anybody know how to help? Note: if i change the indent it messed other stuff up command /warp [<Text>]: permission: warp.skript trigger: if arg-1 is "market": send "&aTeleporting..." wait 1 seconds teleport player to {marketwarp} if arg-1 is "farm": send "&aTeleporting..." wait 1 seconds teleport player to {farmwarp} if arg-1 is "forest": send "&aTeleporting..." wait 1 seconds teleport player to {forestwarp} command /setwarp [<Text>]: permission: set.warp permission message: &cYou do not have access to this command. trigger: if arg-1 is "forest": set {forestwarp} to player's location send "&aforest Location has been set to: &2%{forestwarp}%" to player if arg-1 is "market": set {marketwarp} to player's location send "&aMarket Location has been set to: &2%{marketwarp}%" to player if arg-1 is "farm": set {farmwarp} to player's location send "&aforest Location has been set to: &2%{farmwarp}%" to player Link to comment Share on other sites More sharing options...
NotKaizo Posted August 8, 2021 Share Posted August 8, 2021 Uh.... why don't I make you a new one instead? command /warp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is set: teleport player to {warp::%arg-1%} send "&aTeleporting..." if {warp::%arg-1%} is not set: send "&cThis warp does not exist!" stop if arg-1 is not set: send "&6Usage: /warp <warp name>" command /setwarp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is not set: set {warp::%arg-1%} to location of player send "&aSuccessfully set new warp!" if {warp::%arg-1%} is set: send "&cThis warp already exist!" if arg-1 is not set: send "&6Usage: /warp <warp name>" This isn't the best but it works better than the one you have as now you don't have to make a Skript for every new warp... Hope this helps! Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
belac136 Posted August 10, 2021 Author Share Posted August 10, 2021 On 8/8/2021 at 3:53 PM, NotKaizo said: Uh.... why don't I make you a new one instead? command /warp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is set: teleport player to {warp::%arg-1%} send "&aTeleporting..." if {warp::%arg-1%} is not set: send "&cThis warp does not exist!" stop if arg-1 is not set: send "&6Usage: /warp <warp name>" command /setwarp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is not set: set {warp::%arg-1%} to location of player send "&aSuccessfully set new warp!" if {warp::%arg-1%} is set: send "&cThis warp already exist!" if arg-1 is not set: send "&6Usage: /warp <warp name>" This isn't the best but it works better than the one you have as now you don't have to make a Skript for every new warp... Hope this helps! Thank you that is really nice of you! Link to comment Share on other sites More sharing options...
belac136 Posted August 10, 2021 Author Share Posted August 10, 2021 19 minutes ago, Dragon-Master said: Thank you that is really nice of you! On 8/8/2021 at 3:53 PM, NotKaizo said: Uh.... why don't I make you a new one instead? command /warp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is set: teleport player to {warp::%arg-1%} send "&aTeleporting..." if {warp::%arg-1%} is not set: send "&cThis warp does not exist!" stop if arg-1 is not set: send "&6Usage: /warp <warp name>" command /setwarp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is not set: set {warp::%arg-1%} to location of player send "&aSuccessfully set new warp!" if {warp::%arg-1%} is set: send "&cThis warp already exist!" if arg-1 is not set: send "&6Usage: /warp <warp name>" This isn't the best but it works better than the one you have as now you don't have to make a Skript for every new warp... Hope this helps! Uhh.... I'm so sorry to bother you but I'm not sure how to make this work with my gui. Do I do this? (I'm using Tuske btw) command /warps: trigger: open virtual chest inventory with size 3 named "Warps" to player format gui slot 11 of player with grass path named "&6Market" to run: teleport player to {warp::market} format gui slot 13 of player with spruce sapling named "&2Forest" to run: teleport player to {warp::forest} format gui slot 15 of player with grass block named "&aSpawn" to run: teleport player to {spawn} format gui slot 0 of player with barrier named "&cClose" to run: close player's inventory format gui slot 18 of player with blaze rod named "&7" format gui slot 26 of player with arrow named "&7Next Page" to run: open virtual chest inventory with size 3 named "Warps &7[&a2&7]" to player format gui slot 13 of player with farmland named "&bFarm" to run: teleport player to {warp::farm} format gui slot 0 of player with barrier named "&cClose" to run: close player's inventory format gui slot 18 of player with blaze rod named "&7Previous Page" to run: make player execute command "/warps" command /warp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is set: wait 1 second send "&aTeleporting..." teleport player to {warp::%arg-1%} if {warp::%arg-1%} is not set: send "&cThis warp does not exist!" stop if arg-1 is not set: send "&6Usage: /warp <warp name>" command /setwarp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is not set: set {warp::%arg-1%} to location of player send "&aSuccessfully set new warp!" if {warp::%arg-1%} is set: send "&cThis warp already exist!" if arg-1 is not set: send "&6Usage: /warp <warp name>" Link to comment Share on other sites More sharing options...
belac136 Posted August 10, 2021 Author Share Posted August 10, 2021 6 minutes ago, Dragon-Master said: Uhh.... I'm so sorry to bother you but I'm not sure how to make this work with my gui. Do I do this? (I'm using Tuske btw) command /warps: trigger: open virtual chest inventory with size 3 named "Warps" to player format gui slot 11 of player with grass path named "&6Market" to run: teleport player to {warp::market} format gui slot 13 of player with spruce sapling named "&2Forest" to run: teleport player to {warp::forest} format gui slot 15 of player with grass block named "&aSpawn" to run: teleport player to {spawn} format gui slot 0 of player with barrier named "&cClose" to run: close player's inventory format gui slot 18 of player with blaze rod named "&7" format gui slot 26 of player with arrow named "&7Next Page" to run: open virtual chest inventory with size 3 named "Warps &7[&a2&7]" to player format gui slot 13 of player with farmland named "&bFarm" to run: teleport player to {warp::farm} format gui slot 0 of player with barrier named "&cClose" to run: close player's inventory format gui slot 18 of player with blaze rod named "&7Previous Page" to run: make player execute command "/warps" command /warp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is set: wait 1 second send "&aTeleporting..." teleport player to {warp::%arg-1%} if {warp::%arg-1%} is not set: send "&cThis warp does not exist!" stop if arg-1 is not set: send "&6Usage: /warp <warp name>" command /setwarp [<text>]: trigger: if arg-1 is set: if {warp::%arg-1%} is not set: set {warp::%arg-1%} to location of player send "&aSuccessfully set new warp!" if {warp::%arg-1%} is set: send "&cThis warp already exist!" if arg-1 is not set: send "&6Usage: /warp <warp name>" wait nevermind I think i fixed it 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