mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2007
Posts: 37
E
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Jun 2007
Posts: 37
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
  }
}

Joined: Feb 2008
Posts: 3
S
Self-satisified door
Offline
Self-satisified door
S
Joined: Feb 2008
Posts: 3
How do I go about using this bit of code?

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


This is not the signature you are looking for
Joined: Feb 2008
Posts: 3
S
Self-satisified door
Offline
Self-satisified door
S
Joined: Feb 2008
Posts: 3
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: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

See if this works for you.

Joined: Feb 2008
Posts: 3
S
Self-satisified door
Offline
Self-satisified door
S
Joined: Feb 2008
Posts: 3
Thanks, seems to have done the trick!


Link Copied to Clipboard