Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:start: {
- }
- on *:connect:{
- ; .startyline
- echo 3 -a +----------------------------------------------+
- echo 3 -a $timestamp Ping Loaded
- echo 3 -a +----------------------------------------------+
- }
- ; alias startyline {
- ; .echo -a starting keep alive
- ; .hadd -m nets $network $+ $cid 0
- ; .timer $+ $network $+ $cid -o 0 120 yline
- ; }
- ;
- ; alias yline {
- ; if ($hget(nets,$network $+ $cid) == 1) {
- ; .echo -s reconnecting to $server (PING TIMEOUT)
- ; .server $server
- ; }
- ; else {
- ; hadd -m nets $network $+ $cid 1
- ; .quote PING : $+ $ctime
- ; }
- ; }
- ;
- ; on *:pong:{
- ; .hadd -m nets $network $+ $cid 0
- ; .halt
- ; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement