mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2011
Posts: 5
C
Carola Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Feb 2011
Posts: 5
I'm having connection issues and was told that a small script to ping the server every minute might be helpful. I messed with scripts many years ago and have forgotten everything I knew about it! Can someone help me with this?

Thanks!

~Carol

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
on *:connect:{ .timer 0 60 .ping $ctime }

Joined: Feb 2015
Posts: 17
F
Pikka bird
Offline
Pikka bird
F
Joined: Feb 2015
Posts: 17
Since Google leads to this thread if you search for ping script mirc, I'd like to share this code.

This script will ping every IRC network server you're connected to every 60 seconds and also hide PONG messages, like * PONG from efnet.port80.se: Anti10053 that are displayed in mIRC Status window as a response from the server you've just pinged.

Code:
on *:START:.timerAnti10053 -o 0 60 scon -at1 raw -q ping Anti10053
on ^*:PONG:if ($2 == Anti10053) haltdef


Link Copied to Clipboard