D
Deleted member 1700
How would I cancel the following line preventing any further code from being executed unless it is relaunched?
The only thing that seems to cancel this task is by restarting the server. Is there a way to cancel this task by using another command?
Skript Version: 2.2-dev20
Skript Author: Njol, Mirreski, bensku, nfell2009, joeuguce99, RealGatt, RoyCurtis and tim740
Minecraft Version: 1.8.9
---
Full Code:
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? No
What other methods have you tried to fix it? The only method which seems to do what I want is by restarting the server. However, I don't want to restart the whole server just to stop one task.
code_language.skript:
wait 10 seconds
The only thing that seems to cancel this task is by restarting the server. Is there a way to cancel this task by using another command?
Skript Version: 2.2-dev20
Skript Author: Njol, Mirreski, bensku, nfell2009, joeuguce99, RealGatt, RoyCurtis and tim740
Minecraft Version: 1.8.9
---
Full Code:
code_language.skript:
command /test <text>:
description: Test
usage: /test <on/off>
permission: test.test
executable by: players and console
trigger:
if "%arg text%" is "on":
message "1"
wait 10 seconds
message "2"
else if "%arg text%" is "off":
#Check if there are any wait going on in this script and cancel them, preventing any further code from being executed
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? No
What other methods have you tried to fix it? The only method which seems to do what I want is by restarting the server. However, I don't want to restart the whole server just to stop one task.
Last edited by a moderator: