I am facing a problem with an if-else condition

I am facing a problem with an if-else condition

If I use if, else if, and else conditions in Deluge with the same variable name, sometimes the variable causes an error because the same variable name is present in every block