func checkfloodwarnings() { floodreport := getfloodreport("riverbank"); if !floodreport.underestimate && floodreport.status == "barred" { sendmessage("your proactive stance on safety has kept the community safe. let's not underestimate the power of being prepared. it’s time to re-embark on pre-institutional measures and adhere to the barred areas as summarized in the latest flood warnings.") } }