So I'm making a class system for my friend's minigame and there are two things I need help with.
I'm going to have it work like:
command /kit [<text>]:
trigger:
if arg-1 is "example":
give dirt to player
The first thing I need help with Is some way to make it so you can only have one class at a time.
The second thing I need help with is a way for a healer class to give the player a splash potion of healing every 5 seconds unless they already have one in their inventory. I also don't want that to work If you don't have the kit selected.
I'm going to have it work like:
command /kit [<text>]:
trigger:
if arg-1 is "example":
give dirt to player
The first thing I need help with Is some way to make it so you can only have one class at a time.
The second thing I need help with is a way for a healer class to give the player a splash potion of healing every 5 seconds unless they already have one in their inventory. I also don't want that to work If you don't have the kit selected.