Never having used mel b4 this is a wild stab in the dark but there is no { } block defined after your first if statement?
should it read
if (0.05*$pos.z > 1.0)
{
particleExplosionShape.radiusPP = 0.05*$pos.z;
float $DTOR = 0.01745
}
From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"