well, let's pull something from head:
code:
$time=readprofilestring(@homedir+"\logon.log","Logon Info","LastLogon")
if @date<>$time
;first logon today
$nul=writeprofilestring(@homedir+"\logon.log","Logon Info","LastLogon",@date)
;do here what you want to do.
endif

_________________________
!

download KiXnet