mIRC Home    About    Download    Register    News    Help

Print Thread
E
EffingHell
EffingHell
E
Like the title says, can I get an Anti idle code to keep me connected to the server with having to ping myself all the time

Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Well, this script will ping yourself every minute, but you don't have to look at it, and it works very nicely.
Been using it myself for a couple of years now, and it works briljantly.

Code:
alias keepalive { .ctcp $me ping }

on *:CONNECT:{
  .timerkeepalive 0 60 keepalive
}

CTCP *:PING:*:{
  if ($nick == $me) {
    echo $timestamp 05Connection alive
    echo -
    halt
  }
}

S
seanmt
seanmt
S
How do I go about using this bit of code?

Joined: Aug 2007
Posts: 331
F
Pan-dimensional mouse
Offline
Pan-dimensional mouse
F
Joined: Aug 2007
Posts: 331
type alt+R or click the little script button and paste in remotes

S
seanmt
seanmt
S
I've pasted it into the remote part but I am still getting disconnected with the "[10053] Software caused connection abort" error after 4/5 minutes of inactivity.

Joined: Dec 2002
Posts: 1,997
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,997

See if this works for you.

S
seanmt
seanmt
S
Thanks, seems to have done the trick!


Link Copied to Clipboard