Sorry if this is the wrong section for my question..

But I'm not entirely sure how all the code works for ent files. But what I'm trying to do is making a button that when activated. It actives the turrets for 45 seconds and displays the message "(team colour) defense activated" And so the teams can't spam the turrets. Have it set so every 4 minutes the button can be activated. Is that all possible or not? lol. Any help is appreciated. Thank you