ClearJournal
Clears the UO journal (the main journal, not the system journal).
After calling this method, InJournal and InJournalBetweenTimes will not find any previous messages.
To clear the system journal, use ClearSystemJournal.
Очищает UO-журнал (основной журнал, не системный).
После вызова метода InJournal и InJournalBetweenTimes не найдут предыдущих сообщений.
Для очистки системного журнала используйте ClearSystemJournal.
procedure ClearJournal;
def ClearJournal() -> None: ...
begin
ClearJournal;
UOSay('Hello');
Wait(2000);
if InJournal('Hello') >= 0 then
AddToSystemJournal('Found in journal');
end.
ClearJournal()
UOSay('Hello')
Wait(2000)
if InJournal('Hello') >= 0:
AddToSystemJournal('Found in journal')