Raga Posted October 9, 2021 Share Posted October 9, 2021 I modified a skript that someone posted about a year ago on here due to it being obsolete and not working anymore, but now it doesn't work at all and I'm unable to figure out why. command dupe <int=1>: aliases: d trigger: give (item amount of player's tool * 2 arg-int times) to player The skript is basically meant to be a /dupe command, like a lot of popular servers, and I try to make it so not only can you /dupe but you can do like /dupe 4 and it'll *2 your item 4 times instead of just *2ing once with /dupe. Link to comment Share on other sites More sharing options...
Lapzzo Posted October 9, 2021 Share Posted October 9, 2021 command /dupe <number> aliases: /d trigger: loop %arg-1% times: set {dupe::%player's uuid%} to player's held item give player 1 of {dupe::%player's uuid%} to player Like this? Link to comment Share on other sites More sharing options...
NotKaizo Posted October 9, 2021 Share Posted October 9, 2021 2 hours ago, Lapzzo said: command /dupe <number> aliases: /d trigger: loop %arg-1% times: set {dupe::%player's uuid%} to player's held item give player 1 of {dupe::%player's uuid%} to player Like this? Uhm, don't use % if its not in a string (Line 4). Don't use global variables for that (Use local). Last line has a wrong syntax. And lastly, I'm pretty sure that isn't what he said he wants. command /dupe [<number>]: aliases: /d trigger: loop arg-1 times: give (1 * 2) of tool to player # Not sure if this is what you want but if I didn't read wrongly, it should be what you needed. 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...
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