bloke Posted November 23, 2023 Share Posted November 23, 2023 Hello! I just need to know how to add a segment to this skript: options: prefix: &4Coke&cDupe &8| &cItem &4Duped! command /dupe: trigger: set {_item} to player's tool give {_item} to player send "{@prefix}" stop I need to add a segment that tells it if the item has "&fUndupable" in the lore then you cant dupe it. Thank you! Link to comment Share on other sites More sharing options...
TheDarkSharker Posted November 23, 2023 Share Posted November 23, 2023 (edited) Hello, i think this is what you meant correct me if im wrong. options: prefix: &4Coke&cDupe &8| &cItem &4Duped! command /dupe: trigger: set {_item} to player's tool if {_item}'s lore does not contain "&fUndupable": give {_item} to player send "{@prefix}" stop else: send "&cYou can't dupe this item." // feel free to edit this Edited November 23, 2023 by TheDarkSharker Link to comment Share on other sites More sharing options...
HugeAdventure Posted December 30, 2023 Share Posted December 30, 2023 (edited) thats wrong, look here! options: prefix: &4Coke&cDupe &8| &cItem &4Duped! command /dupe: trigger: set {_item} to player's tool if {_item} doesn't contain lore "undupeable": give {_item} to player send "{@prefix}" stop else: message "&cYou Cant Dupe This Item ):" Edited December 30, 2023 by HugeAdventure Minecraft Developer 4+ years Discord: HugeAdventure 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