Switch statments

Switch statments

HI
I am in need of using Switch statement in deluge script for an application which i build.
by switch i refer to this statement in PHP:

$i
switch $i
{
case 0:
      Do something
case 1:
      Do something else

Is there such a statement in deluge?
if not, can you add this functionality?

Thank you
Tal