I want to make a alias that will read a ini and calc something like this
[ini]
-
[sLiPkNoT6]
start_ctime1=1039830206
start_ctime2=1039830219
-
I want to calc ctime1 to mins hours etc then same for 2 and so on then add them all together then return the total how would i go about doing this?
-
This is what i have for calc one of them
$duration($calc($ctime - $readini(time.ini,$nick,start_ctime)))
but how would i do it for muti ones like if theres 1,2,3,4,5,6,7,8,9 and so on....then add them all together anyone know?