How to set limit for mq7

Well if you've worked out how to read the sensor all you need to do is pick a value above which the alarm triggers.

Post the code you have so far with the sensor being read and the alarm being set.

Steve