mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
dmdoc: Some cleanups. (#27242)
* dmdoc: Some cleanups. * satisfy check_grep
This commit is contained in:
@@ -43,12 +43,15 @@
|
||||
* to_chat(client, "You have found <strong>[object]</strong>", MESSAGE_TYPE_INFO,
|
||||
* ```
|
||||
* Always remember to close spans!
|
||||
* TARGET: Refers to the target of the to_chat message. Valid targets include clients, mobs, and the static world controller
|
||||
* HTML: The Message to be sent to the TARGET. Converted to a string if not already one in this function
|
||||
* TYPE: The chat tab that this message will be sent to, a list of all valid types can be found in chat.dm
|
||||
* TEXT: Unused
|
||||
* AVOID_HIGHLIGHTING: Unused
|
||||
* trailing_newline, confidential, and handle_whitespace currently have no effect, please fix this in the future or remove the arguments to lower cache!
|
||||
*
|
||||
* Arguments:
|
||||
* - target: Refers to the target of the to_chat message. Valid targets include clients, mobs, and the static world controller
|
||||
* - html: The Message to be sent to the TARGET. Converted to a string if not already one in this function
|
||||
* - type: The chat tab that this message will be sent to, a list of all valid types can be found in chat.dm
|
||||
* - text: Unused
|
||||
* - avoid_highlighting: Unused
|
||||
*
|
||||
* `trailing_newline`, `confidential`, and `handle_whitespace` currently have no effect, please fix this in the future or remove the arguments to lower cache!
|
||||
*/
|
||||
/proc/to_chat(target, html, type, text, avoid_highlighting, handle_whitespace = TRUE, trailing_newline = TRUE, confidential = FALSE, ticket_id = -1)
|
||||
if(Master.current_runlevel == RUNLEVEL_INIT || !SSchat?.initialized)
|
||||
|
||||
Reference in New Issue
Block a user