agagagagagagagagag Posted August 7, 2020 Share Posted August 7, 2020 ok so I have this: command /upgrade: permission: tester trigger: set {_0} to lore of player's tool set {_1::*} to split {_0} at "||" set {_0} to size of {_1::*} if line {_0} is "&f&lCOMMON": set line {_0} of lore of player's tool to "&a&l&kA &r&a&lUNCOMMON &r&a&l&kA" No errors, nothing. Just doesn't change the line of lore. Link to comment Share on other sites More sharing options...
agagagagagagagagag Posted August 7, 2020 Author Share Posted August 7, 2020 bump :v Link to comment Share on other sites More sharing options...
agagagagagagagagag Posted August 7, 2020 Author Share Posted August 7, 2020 (edited) im starting to think it is physically impossible to do this lol Edited August 7, 2020 by agagagagagagagagag Link to comment Share on other sites More sharing options...
AWorthySon Posted August 8, 2020 Share Posted August 8, 2020 Heya! Your "if" statement is incorrect. What you're trying to do is check for a line on a sign. I'd presume you're checking for a lore. On 8/7/2020 at 4:45 AM, agagagagagagagagag said: if line {_0} is "&f&lCOMMON": Check out this post from SkriptHub: https://skripthub.net/docs/?id=978 Try this code: if line {_0} of lore of player's tool is "&f&lCOMMON": Always feel free to contact me or continue this thread if you need more help. Link to comment Share on other sites More sharing options...
CroompedHelp Posted August 8, 2020 Share Posted August 8, 2020 1 hour ago, AWorthySon said: Heya! Your "if" statement is incorrect. What you're trying to do is check for a line on a sign. I'd presume you're checking for a lore. Check out this post from SkriptHub: https://skripthub.net/docs/?id=978 Try this code: if line {_0} of lore of player's tool is "&f&lCOMMON": Always feel free to contact me or continue this thread if you need more help. i've seen those 2 pictures on google so i can copy em if i wanted lol Link to comment Share on other sites More sharing options...
CroompedHelp Posted August 8, 2020 Share Posted August 8, 2020 test 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