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