ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet game.
Loading...
Searching...
No Matches
CChatHistory Struct Reference

#include <doc.h>

Inheritance diagram for CChatHistory:
[legend]

Public Attributes

Text Filter
 
const Boolean Filter_IsValid
 
const CChatEntry[] Entries
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

A filtered history

Member Data Documentation

◆ Filter

Text CChatHistory::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 *"

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