#If Function.
1 messages · Page 1 of 1 (latest)
Requirements?
We can do specific command requirements?
I mean
when they click the command
I want certain commands to work, and certain commands to not work, based on their permissions
I don,t know i used to do that dunno if something changed
Permission requirments
Look at the docs
wait, let me show you example
- '[close]'
- '[message] &fYou completed this challenge!'
- '[console] tokens give %player_name% %math_{edprison_variable_changeable_cblocks}*300%'
# If player is above level 5, he gets an extra reward #
- '[console] key give %player_name% astral 1'
something like this
I want 1 click to sort out rewards based on level, or other requirements
😑
Nevermind guys
Ig I'll just use my boring old method of making hundreds of items, xd
Dude just make permission per level it’s way easier. And if your using luck perms its even easier
I'm not
that's the issue
lol
Then use it…
Nah. Dw about it though. I was just wondering if the "if" function existed to set a number of commands
I have a plan in mind, to test it
dk how it'll turn out
You can do this
there are success_commands
take a look at this example from my keyboard
You could easily replace the requirements with permission requirements to execute conditional extra commands
This is exactly what I was looking for. Thank you 😊
I was hesitant on doing with requirements for individual items because I have to make 1000+ Items. This thing saves all that and puts it all into 1 item