Normal
Define a new skin property (something like #FritzBox.NewMessageCount) in your plugin. To do this use:[code]GUIPropertyManager.SetProperty("#FritzBox.NewMessageCount", string.empty);[/code]at plugin initialization. Then whenever the new message count changes use:[code]GUIPropertyManager.SetProperty("#FritzBox.NewMessageCount", newMessageCount.ToString());[/code]where newMessageCount is a local (int I assume) variable holding the message count.In the modified skin use the following condition:[code]<visible>!string.equals(#FritzBox.NewMessageCount,0)</visible>[/code]
Define a new skin property (something like #FritzBox.NewMessageCount) in your plugin. To do this use:[code]GUIPropertyManager.SetProperty("#FritzBox.NewMessageCount", string.empty);[/code]at plugin initialization. Then whenever the new message count changes use:
[code]GUIPropertyManager.SetProperty("#FritzBox.NewMessageCount", newMessageCount.ToString());[/code]where newMessageCount is a local (int I assume) variable holding the message count.
In the modified skin use the following condition:
[code]<visible>!string.equals(#FritzBox.NewMessageCount,0)</visible>[/code]