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

AddJournalIgnore

Adds a string to the journal ignore list. Incoming messages that contain Str as a substring will not be displayed in the journal.

The match is case-insensitive and works on partial strings — the message does not need to match Str exactly, only contain it.

Note: This method has no effect on connected (attached) clients — it only applies to Stealth’s internal journal.

Добавляет строку в список игнорируемых сообщений журнала. Входящие сообщения, содержащие Str как подстроку, не будут отображаться в журнале.

Сравнение регистронезависимое и работает по частичному совпадению — сообщение не должно полностью совпадать со Str, достаточно содержать его.

Примечание: Метод не действует на подключённых (attached) клиентов — применяется только к внутреннему журналу Stealth.

Pascal

procedure AddJournalIgnore(Str: String);

Parameters:

  • Str — substring to match against incoming journal messages.

Python

def AddJournalIgnore(Str: str) -> None: ...

Pascal Example

begin
  // Ignore some messages for journal flood prevention
  AddJournalIgnore('for mercenary points');
  AddJournalIgnore('pour the completed potion into a bottle');
  AddJournalIgnore('toss the failed mixture from the mortar');
  AddJournalIgnore(' в ярмарочной лотерее!');
end.

Python Example

# Ignore repetitive craft messages
AddJournalIgnore('for mercenary points')
AddJournalIgnore('pour the completed potion into a bottle')
AddJournalIgnore('toss the failed mixture from the mortar')

See Also

AddChatUserIgnore, InJournal