For that you can create a timer which sends the message in 30 minutes everytime someone sends a message, by naming the timer it'll overwrite itself and reset the 30mins counter:
on *:text:*:#yourchannel:.timerresetcounter 1 1800 msg $unsafe($chan) This message is sent because nobody said anything for 30mins
If you want to stop that, just use "/.timerresetcounter off"
Thanks for reply. And what if I want the timer stop also if a user write any word? For example an user say "HELLO" and timer stop.