Hello.
I have a "NPC" dialog Skript on my server. It's super simple but i wanted to add a cooldown so people don't spam the dialog.
I know there is the:
but then it spams the cooldown message.
How can I make it so that it doesn't say anything and just stops the command?
My "NPC" dialog:
Side notes:
I put NPC into quotation marks because what i really mean are armor stands.
The messages don't look like this. They're in Czech (my native language) and I just changed it random messages to fill the place.
Thanks a lot.
I have a "NPC" dialog Skript on my server. It's super simple but i wanted to add a cooldown so people don't spam the dialog.
I know there is the:
Code:
cooldown: 10 seconds
cooldown message: No
How can I make it so that it doesn't say anything and just stops the command?
My "NPC" dialog:
Code:
command /npctalk1:
cooldown: 5 seconds
trigger:
chance of 50%:
send "&c&lGuard: &fNo!" to player
stop
chance of 50%:
send "&c&lGuard: &fHello." to player
stop
chance of 100%:
send "&c&lGuard: &fHey!" to player
stop
Side notes:
I put NPC into quotation marks because what i really mean are armor stands.
The messages don't look like this. They're in Czech (my native language) and I just changed it random messages to fill the place.
Thanks a lot.