/tg/ Station 13 - Modules - Types

code/__HELPERS/chat_filter.dm

/proc/is_ic_filteredGiven a text, will return what word is on the IC filter, with the reason. Returns null if the message is OK.
/proc/is_soft_ic_filteredGiven a text, will return what word is on the soft IC filter, with the reason. Returns null if the message is OK.
/proc/is_ooc_filteredGiven a text, will return what word is on the OOC filter, with the reason. Returns null if the message is OK.
/proc/is_soft_ooc_filteredGiven a text, will return that word is on the soft OOC filter, with the reason. Returns null if the message is OK.
/proc/check_pda_message_against_filterChecks a PDA message against the IC/Soft IC filter. Returns TRUE if the message should be sent. Notifies the user passed in arguments if the message matched either filter.
/proc/is_ic_filtered_for_pdasGiven 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_soft_ic_filtered_for_pdasGiven 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/censor_ic_filter_for_pdasGiven a pda message, will replace any match in the message with grawlixs.
/proc/log_filterLogs to the filter log with the given message, match, and scope