havent tested it as its pretty hard to
Gms that go anon and entirely invis may not trigger a check for GM spawns. I know guides who are just anon but not hidden do trigger them. But When a GM enters a zone they are default unhidden, I've seen GMs poof in and out of sight on this. if you had a constant spam macro to GM check it might go off once he enters
This is partly why people dont endorse AFK macroing, because GMs have ways of trying to get you attention and when they fail and you doign something, you are busted. Kinda for your own safety.
and am i only one having a hard time fully understanding what wolfbaby typed?