Returns 1 if an error occurred since the last call to this command. 0 if not. This does not include warnings.
integer GetErrorOccurred()
int agk::GetErrorOccurred()