Hi
I want to create a Widget that shows me my Online and Offline Status in an Animation.
I use the following Script:
--------------------------------
'Called when the script is executed
Sub Object_OnScriptEnter
Object.SetTimer 500, 5000
End Sub
'Called when the script is terminated
Sub Object_OnScriptExit
Object.KillTimer 500
End Sub
Sub Object_OnTimer500
If System.InternetConnected=True Then
Object.state = "NetOn"
Else
Object.state = "NetOff"
End If
End Sub
-------------------------------
The Widget works well. But when I disconnect my Internet Connection, the Widget is reconnecting.
How can I change the Script to prevent the Widget is reconnecting?