How to make signal flag messages