|
Theragil Apprentice
Joined: 13 Feb 2004 Posts: 157 Location: USA
|
Posted: Tue Aug 17, 2004 10:42 am
Detecting if you're connected |
If you have an #alarm loop, it runs even after you've disconnected. Is there a function or predefined variable that you can use to tell if you're still connected?
|
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Aug 17, 2004 11:44 am |
Not directly that I am aware of but there a few workarounds
1a. put all your alarms in a class folder and select the option for enable on connect and use the atdisconnect alias to turn the class off #t- classname
1b. almost like about but giving alarms names and using atconnect and atdisconnect aliass to turn them on and off
2.change your alarms to something along this.
#if (%ctime!=oldtime) {stuff for alarm todo}
oldtime=%ctime |
|
|
|
|
|