Improving your indentation will go a long way toward readable code.
If your die
message are different, then you have no choice. If they are the same, then you can combine the conditions:
If you just want to die if not all the commands are successful, you can write
dtc "$var" && dtc "$var1" &&
vlc "$var" && vlc "$var1" || die "message"
# OK, all passed
stuff
One style tip for if-else is to put the shorter block first
if ! { dtc "$var" && dtc "$var1"; }
then
die "message 1"
else
if ! { vlc "$var" && vlc "$var1"; }
then
die "message 2"
else
we will do
lots of stuff
here
fi
fi
and of course, functions to encapsulate code
stuff() {
we will do
lots of stuff
here
}