HolyLib Wiki

HolyLib.HideMsg

  HolyLib.HideMsg( string regex, boolean remove )

Description

Adds the given regex pattern to HolyLib's internal list of hidden messages, or removes it again if it was already added and remove is true.

The final logic that actually hides matching messages is still missing, so this function currently has no visible effect - it only tracks the list of patterns internally.

Arguments

1string regex

the regex pattern to add to (or remove from) the hidden message list

2boolean remove

if true and the pattern was already added, it will be removed from the list