#include #include While 1 Sleep(1) If _IsPressed("10", $dll) Then $Current = IniRead ( "botlog.ini", "global", "runs", "0" ) $time = today() IniWrite ( "botlog.ini", "global", "runs", $current +1) IniWrite ( "botlog.ini", "global", "date", $time) wend func CrtlE() $time = today() $ini = IniRead ( "botlog.ini", "global", "date", "0" ) $runs = $Current = IniRead ( "botlog.ini", "global", "runs", "0" ) if $time = $ini Then TrayTip("Run done!", "The heroes should've covered all spots now, and today you've done" & $runs, 3, 0) Else TrayTip("Run done!", "seems you done no runs today", 3, 0) Func today() ;Return the current date in mm/dd/yyyy form return (@MON & "/" & @MDAY & "/" & @YEAR) EndFunc