; ===========================================================================================
;
;     Script Information
;    
;     Title:      
;     Author:      
;     Description:
;    
;
; ===========================================================================================
;Script Options

If Not @LOGONMODE
    Break On
Else
    Break Off
EndIf
Dim $RC
$RC = SetOption("Explicit", "On")
$RC = SetOption("NoMacrosInStrings", "On")
$RC = SetOption("NoVarsInStrings", "On")
If @SCRIPTEXE = "KIX32.EXE"
    $RC = SetOption("WrapAtEOL", "On")
EndIf

;Declare variables
DIM
 
$events_1030, $events_1054

;Initialize variables

;Code
$events_1030
 = ReadEventlog('Application',1030)
$events_1054 = ReadEventlog('Application',1054)

If $events_1030[0] <> ""
   "do stuff"
EndIf

If $events_1054[0] <> ""
   "do more stuff"
EndIf

;Personal UDF Section

;UDF Section

Do not forget the UDF code at the bottom