Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

LineID

Returns the serial (ID) of the speaker of the last matched journal entry.

This property is updated after InJournal, InJournalBetweenTimes, Journal, or LastJournalMessage calls.

Возвращает серийный номер (ID) говорящего из последней найденной записи журнала.

Это свойство обновляется после вызовов InJournal, InJournalBetweenTimes, Journal или LastJournalMessage.

Pascal

function LineID: Cardinal;

Python

def LineID() -> int: ...

Pascal Example

begin
  if InJournal('guards') >= 0 then
    AddToSystemJournal('Said by: $' + IntToHex(LineID, 8) + ' (' + LineName + ')');
end.

Python Example

if InJournal('guards') >= 0:
    AddToSystemJournal(f'Said by: ${LineID():08X} ({LineName()})')

See Also

InJournal, LineName, LineIndex, LineTime