function serverCmdShowText() { if(%client.isSuperAdmin && $showText == 0) { messageAll('', "Text is now shown"); $showText = 1; } }
You forgot to define %client in the function.