Skray Posted May 16, 2021 Share Posted May 16, 2021 I need help with 3 scripts Command /name <text> permission: op name player's hold item <text> Command /lore <text> permission: op lore player's hold item <text> Command /unbreakable permission: op make player's hold item unbreakable Link to comment Share on other sites More sharing options...
SoloStrafe Posted May 16, 2021 Share Posted May 16, 2021 command /name <text>: trigger: set name of player's held item to arg-1 command /lore <text>: trigger: set lore of player's held item to arg-1 I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested. 1 Hello! I'm SoloStrafe! Skills: Skript (4+ years experience) Most of the plugins on MH Servers: - Westmine (Developer) - Mineport (Admin) Minehut: I got VIP rank on 8/1/2019 -> Current Link to comment Share on other sites More sharing options...
Skray Posted May 17, 2021 Author Share Posted May 17, 2021 8 hours ago, SoloStrafe said: command /name <text>: trigger: set name of player's held item to arg-1 command /lore <text>: trigger: set lore of player's held item to arg-1 I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested. Do you think this would work? Also does the other commands only work for items, or do they work for tools too? Command /unbreakable: add unbreakable to player's held item Link to comment Share on other sites More sharing options...
Thedukc Posted May 17, 2021 Share Posted May 17, 2021 Forgot the trigger: But also probably wouldn't work because it would think it's a variable. Link to comment Share on other sites More sharing options...
Skray Posted May 17, 2021 Author Share Posted May 17, 2021 21 hours ago, SoloStrafe said: command /name <text>: trigger: set name of player's held item to arg-1 command /lore <text>: trigger: set lore of player's held item to arg-1 I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested. Can I make it work with colors? Link to comment Share on other sites More sharing options...
Thedukc Posted May 17, 2021 Share Posted May 17, 2021 Yes replace set lore of player's held item to set lore of player's held item to colored arg-1 Link to comment Share on other sites More sharing options...
ChunkerDunkers Posted May 21, 2021 Share Posted May 21, 2021 Here is the unbreakable skript. command /unbreakable: permission: unbreakable permission message: No trigger: if player's held item is not air: add "{Unbreakable:1b}" to nbt of player's held item else: message "&cYou must hold something in order to do this!" Hello, I'm Nolan! Cool Links Vote Please - bit.ly/3tMXajE MC Server - bit.ly/3hqYAOy Please leave a like if I helped! 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