LineMsgType
Returns the message type of the last matched journal entry.
Common values: 0 = regular speech, 1 = system/broadcast, 2 = emote, 6 = label, 7 = focus, 12 = whisper, 13 = yell.
This property is updated after InJournal, InJournalBetweenTimes, Journal, or LastJournalMessage calls.
Возвращает тип сообщения последней найденной записи журнала.
Типичные значения: 0 = обычная речь, 1 = системное/широковещательное, 2 = эмоция, 6 = метка, 7 = фокус, 12 = шёпот, 13 = крик.
Это свойство обновляется после вызовов InJournal, InJournalBetweenTimes, Journal или LastJournalMessage.
function LineMsgType: Byte;
def LineMsgType() -> int: ...
begin
if InJournal('hello') >= 0 then
AddToSystemJournal('Message type: ' + IntToStr(LineMsgType));
end.
if InJournal('hello') >= 0:
AddToSystemJournal(f'Message type: {LineMsgType()}')