|
zeepo Newbie
Joined: 12 Aug 2004 Posts: 1
|
Posted: Thu Aug 12, 2004 8:54 pm
Detecting a crash and reconnection |
Basically what I want to do is reconnect to the mud if it crashes, however since ill be running a bot sort of script to do combat I also need a way to tell zmud NOT to reconnect me if I have died. Im hoping that zmud has a hidden variable somewhere that simply show's if I am connected or not. Or perhaps the connection timer is stored in a variable as well, so for example, if it is not updating then I would check my @Death variable and reconnect if necessary.
Thanks!
Additionally: is there a way that I could stop that stupid Character select box from poping up and let my script run through a disconnection? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Aug 13, 2004 8:38 pm |
Disable Auto Reconnect in Prefs.
#AL atdisconnect {#IF (@Death = 0) {#T+ connecter}}
#AL atconnect {#T- connecter}
#ALA connecter *15 {#IF (@Death = 0) {#CONNECT} {#T- connecter}}
Untested. I have no idea if atconnect and atdisconnect will work with Auto Reconnect disabled. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
|
|