would this work?

Code:
on 1:connect: timer $+ $server $+ ping 0 120 raw ping $server


i connect on multiple servers and not sure if it would be needed or not