|
jinkx Newbie
Joined: 22 Oct 2004 Posts: 4
|
Posted: Fri Oct 22, 2004 12:33 am
timed reconnect - is it possible ? |
what i'd like to do is set a certain char to login to the mud every hour, run a small script and then log out.
is this possible? to reset the reconnection interval in zmud to some other time by specific char name ? right now it looks to be set at 10 seconds. |
|
|
|
Serentus Apprentice
Joined: 28 Sep 2001 Posts: 103 Location: USA
|
Posted: Fri Oct 22, 2004 3:53 am |
Set the Character up to Auto-Login.
Start your script.
When the script is done #DISCONNECT and set up an #ALARM to #CONNECT each hour. |
|
_________________ -Serentus- |
|
|
|
jinkx Newbie
Joined: 22 Oct 2004 Posts: 4
|
Posted: Fri Oct 22, 2004 5:55 am |
ty for the reply.. another question about this method though .. won't the #DISCONNECT leave my character link dead ?
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Oct 22, 2004 10:04 am |
So send the appropiate 'quit' command instead.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Mon Oct 25, 2004 9:30 pm |
At x time Alarms continue to run even when disconnected
#ALARM "reconnecter" {1:00} {
#CONN
Log in stuff here
commands to do here
quit command here
#DISCON
}
You will also need a way to turn it on and off when you want to play
#ALIAS atconnect {#t- reconnecter}
#ALIAS atdisconnect {#t+ reconnecter} |
|
|
|
|
|