Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CGameScriptChatHistory Class Reference

A filtered history. More...

#include <doc.h>

Inheritance diagram for CGameScriptChatHistory:
[legend]

Public Attributes

Text Filter
 
Boolean const Filter_IsValid
 
Array< CGameScriptChatHistoryEntry *const > Entries
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

A filtered history.

Member Data Documentation

◆ Entries

Array<CGameScriptChatHistoryEntry* const > CGameScriptChatHistory::Entries

◆ Filter

Text CGameScriptChatHistory::Filter

An combination of filter in Inverse Polish Notation

  • [XXXXX] [YYYYY] * : must match both filters
  • [XXXXX] [YYYYY] + : must match one of the filters
  • l[XXXXX]; : remote login must match (case insensitive)
  • r[XXXXX]; : room name must match (case insensitive)
  • it : must be a room message. if : must be a non-room message.

Important note : If the Filter is empty, no Entry will appear. Exemples :

  • lgugli; if * : remote login must be gugli AND message must not come from a chatroom
  • lgugli1; lgugli2; + it * : (remote login must be gugli1 OR gugli2) AND message must come from a chatroom
  • Inside a script, it should look like History.Filter = "l" ^ MyLogin ^ "; if *"

◆ Filter_IsValid

Boolean const CGameScriptChatHistory::Filter_IsValid

The documentation for this class was generated from the following file: