find where the time in seconds is used and replace that with $rand(lower_bound,upper_bound)

For example:
.timer 1 180 echo -a this will trigger in 3 minutes
change it to
.timer 1 $rand(120,240) echo -a this will trigger somewhere between 2 and 4 minutes