I want when player type /duty ,to go on duty and when type /duty again to go off duty..Is there a way to do that ?
You can use "if" statements and set 1 to enable and 0 to disable if the variable is 1 it would set it to 0 and disable it. If it's 0 it would set it to 1 and enable it.