batch if, for, do sentences : I discovered while I tried to add a function with if command that I probably don't understand the real function of theese commands.

what I tried to achieve: I tried to tell the script that "if" (variable) equals to (this) then it will "SET" (this variable) to 0

how I tried to acomplish this:
i tried to acomplish this by writing: `IF %Q%==/decrypt_Delhi-Inter-Cafe-Guest set decrypt_Delhi-Inter-Cafe-Guest=0`


and as you can see... I aparently don't understand quite what I'm doing here haha

why would i want to do something like this?

well I'm mostly playing around with some few things and in order for whatever I do to work. I need to write something that can do this (sort of same waY)

heres the script itself (i removed any unneccecary lines. between those codes theres an menu and a lot of other stuff I removed. this is the only part that needs fixing.)
(sorry for my incompetence. I'm here to learn) :P I tried to google a bit and read a lot but I had no luck sadly

    set encryption_Delhi-Inter_Cafe-Guest=1
    set /P Q=Console:
    IF %Q%==/decrypt_Delhi-Inter-Cafe-Guest set decrypt_Delhi-Inter-Cafe-Guest=0
    if encryption_Delhi-Inter_Cafe-Guest=0 goto decryptedsuccess
    :decryptedsuccess
    echo you successfully decrypted dheli guest network
    echo  encryption value: %encryption_Delhi-Inter_Cafe-Guest%