Hi, this is my first work, i made this for a friend, so i will put here, this auto ping on u wend u conected to the server, so i hope it working for u all =)
;-----------------------------;
;Auto ping made Lingo -DALnet-;
;-----------------------------;
on *:connect: { .timerping 0 10 pings }
alias pings { .ctcp $me ping }
on *:ctcpreply:ping*: {
if ( $nick = $me ) {
%ping = $ctime - $2
set %ping.theme $rand(2,15)
.timer 1 2 echo -s 4 ..:: I have -> $duration($calc(%ping)) of lag:in server $+ $server ((AUTO PING MADE BY Lingo))::..
}
}
You also ideally don't need $calc(%ping) with the way you're using the script, since mIRC automatically calculates equations stored in local variables (although you aren't setting a local variable, you really should for scripts of this nature.).
Also as napa182 pointed out, it appears you ripped the code from another script... :/
Ex:
var %ping = $ctime - $2
.timer 1 2 echo -s 4 ..:: I have -> $duration(%ping)of lag:in server $+ $server ((AUTO PING MADE BY Lingo))::..
um thats about the most annoying thing..
you seem to have things setting that you are not useing like ur %ping.theme it looks like this was taken and redone from another snippet http://www.hawkee.com/snippet/464/