|
atraeyu Novice
Joined: 29 Dec 2006 Posts: 41 Location: Chester, VT
|
Posted: Mon Jan 01, 2007 7:09 pm
Client Heartbeat (Timed Actions) |
The MUD I play on has a heartbeat ... it sends me set text every few seconds.
I'd like to make my own "client based heartbeat" that happens on semi-random intervals.
Basically, I'd like an alias to run automatically, every 15-30 seconds. Is that possible? |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Jan 01, 2007 9:40 pm |
Code: |
alias c_heartbeat {
#ALARM {+%random(15,30)} {
#RAISE heartBeat
c_heartbeat
}
}
|
It's untested, but that should do what you want.
It raises an EVENT so can have the alias execute when you login. Actually the easiest way would be to put in in the system defined event OnConnect |
|
_________________ Asati di tempari! |
|
|
|
|
|