This approach allows consecutive replies after 30 minutes have passed.  If you want to change the minimum time (eg. 1440=1 day), change the 30 to your desired time.  If you want to eliminate consecutive replies without regard to time passed, then delete this portion of that line:  
and intLastPost < 30
"post.asp"
"topic.asp"