please help trying to use the "if" Statement Solved

Try:

if (delayPeriod == 100 )
{
delayPeriod = 10;
}