Skript Version: 1.12
Skript Author: bensku
Minecraft Version: 1.12
Code: https://pastebin.com/1L3HpFv4
Hello, I am creating a staffmode plugin and I am trying to make it detect if the mode is already on and stop it if you are trying to turn on staffmode while it is still enabled. No errors in console or from skript.
The first "if arg-1 is "on"" works and the message is sent but the second "if arg-1 is "off"" doesn't work and it just turns staffmode off again
Skript Author: bensku
Minecraft Version: 1.12
Code: https://pastebin.com/1L3HpFv4
Hello, I am creating a staffmode plugin and I am trying to make it detect if the mode is already on and stop it if you are trying to turn on staffmode while it is still enabled. No errors in console or from skript.
The first "if arg-1 is "on"" works and the message is sent but the second "if arg-1 is "off"" doesn't work and it just turns staffmode off again