I have a script for handling GM detection that I feel is about the best possible alternative: <a href="https://app.roll20.net/forum/post/920764/script-is" rel="nofollow">https://app.roll20.net/forum/post/920764/script-is</a>... It is completely definitive and merely requires that a GM speak as themselves one time to automatically identify them as a GM. You can use it in any of your scripts (I use it in many of mine, see the bottom of them for examples of detecting if it is installed and not crashing if it isn't!) by simply checking the result of the isGM() function: if(!isGM(msg.playerid)) {
sendChat('','You are not a GM!');
}