/tg/ Station 13 - Modules - Types

code/__HELPERS/chat_filter.dm

/proc/is_ic_filtered Given a text, will return what word is on the IC filter, with the reason. Returns null if the message is OK.
/proc/is_ic_filtered_for_pdas Given a text, will return what word is on the IC filter, ignoring words allowed on the PDA, with the reason. Returns null if the message is OK.
/proc/is_ooc_filtered Given a text, will return what word is on the OOC filter, with the reason. Returns null if the message is OK.
/proc/is_soft_ic_filtered Given a text, will return what word is on the soft IC filter, with the reason. Returns null if the message is OK.
/proc/is_soft_ic_filtered_for_pdas Given a text, will return what word is on the soft IC filter, ignoring words allowed on the PDA, with the reason. Returns null if the message is OK.
/proc/is_soft_ooc_filtered Given a text, will return that word is on the soft OOC filter, with the reason. Returns null if the message is OK.
/proc/log_filter Logs to the filter log with the given message, match, and scope