Looping help since I am new to Skript.
Let's say you had your average command.
command /hi:
trigger:
message "hi"
How would I add a looping system to this so when the player types the /hi command, the code will continue to run to the player every 40 seconds?
So 40 seconds pass by and they receive "Hi"
Another 40 seconds "Hi", etc...
But once they type /hi, this loop stops. Also, it is okay if it still says the "Hi" message one last time after the command is typed again.
Thanks for the help
Let's say you had your average command.
command /hi:
trigger:
message "hi"
How would I add a looping system to this so when the player types the /hi command, the code will continue to run to the player every 40 seconds?
So 40 seconds pass by and they receive "Hi"
Another 40 seconds "Hi", etc...
But once they type /hi, this loop stops. Also, it is okay if it still says the "Hi" message one last time after the command is typed again.
Thanks for the help