thijsboefjes09 Posted September 16, 2023 Share Posted September 16, 2023 on right click: if player's tool is diamond sword: if player's inventory contains book with lore "&7Poison": add "&7Poison" to lore of player's tool If lore of the player's tool contains "&7Poison": remove "&7Poison" from the lore of player's tool made with Skript Plugin Link to comment Share on other sites More sharing options...
DuckyProgrammer Posted September 16, 2023 Share Posted September 16, 2023 Moved to Minehut -> Skript -> Discussion. Please use the right forum when making a thread. No rank - 2017-2021 Minehut Tester - 2021-2023 Minehut Volunteer Moderator - 2023-Current Report a player/server: Report Player / Server Create a support ticket: Submit a request Did I help you? If so, feel free to give me a like! Link to comment Share on other sites More sharing options...
Adramelke Posted October 1, 2023 Share Posted October 1, 2023 what is it doing that it shouldn't be or, conversely, not doing that it should? on right click: if player's tool is diamond sword: if player's inventory contains book with lore "&7Poison": <- check for book add "&7Poison" to lore of player's tool <-add poison lore to the sword If lore of the player's tool contains "&7Poison": <- if the sword's lore is poison remove "&7Poison" from the lore of player's tool <- remove the lore you're doing something and immediately undoing it.... i'm not sure what the final result is supposed to be... is it supposed to remove poison lore from the book, poison status effect from player, or from the sword you just put it on? i'm not trying to be critical... mostly.... i'm trying to understand what the end result is for this event Link to comment Share on other sites More sharing options...
thijsboefjes09 Posted October 1, 2023 Author Share Posted October 1, 2023 well it doesnt apply the lore cuz of remove lore? i think that its so weird tho cuz if i remove it it will just add it infinitily Link to comment Share on other sites More sharing options...
Adramelke Posted October 1, 2023 Share Posted October 1, 2023 (edited) what is it doing that it shouldn't be or, conversely, not doing that it should? i asked a couple of times, what is this script meant to do?.... no one can help you until you answer that question.... Edited October 1, 2023 by Adramelke 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