Jump to content

I need help making a /stack script


Recommended Posts

ok so i have a script already but i need a permission for it, and i cant seem to figure out how to do that.

heres the script note im trying to give player x4 item in hand

 

command  /stack: trigger set {_item} to player's tool give {_item} * 4 to player stop

 

Link to comment
Share on other sites

command /stack:
	permission: stack.use
	trigger: 
		set {_item} to player's tool
		give 4 of {_item} to player

Try that

If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot!

Some Minehut Links:

Server Rules • Staff Applications • News & Updates • Reports • Appeals


Minehut: VIP (07/04/2021 --> Current)
Elestra/Versa Realms: Manager (12/04/2021 --> Current)

If you have any questions contact me!
My Discord: BanditEagle#2481
My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/
My IGN: BanditEagle

Link to comment
Share on other sites

23 minutes ago, BanditEagle said:

command /stack: permission: stack.use trigger: set {_item} to player's tool give 4 of {_item} to player

it says i need to make it into triggers

image.png.71c3acbdd89aba439021219779d3f22e.png

 

Edited by Silvurbtw
redo
Link to comment
Share on other sites

Paste in the skript the same way I sent it there. Don't change anything.

If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot!

Some Minehut Links:

Server Rules • Staff Applications • News & Updates • Reports • Appeals


Minehut: VIP (07/04/2021 --> Current)
Elestra/Versa Realms: Manager (12/04/2021 --> Current)

If you have any questions contact me!
My Discord: BanditEagle#2481
My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/
My IGN: BanditEagle

Link to comment
Share on other sites

28 minutes ago, Silvurbtw said:

it says i need to make it into triggers

image.png.71c3acbdd89aba439021219779d3f22e.png

 

Looks like you put everything in 1 line. Keep it the same with the exact same indentation as BanditEagle showed. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 - 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - 12/20/22

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...