TGUI Say: Upgrades chat input with modern features (#67116)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: iamgoofball <iamgoofball@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: KubeRoot <6917698+KubeRoot@users.noreply.github.com>
Co-authored-by: Kapu1178 <75460809+Kapu1178@users.noreply.github.com>
Co-authored-by: Iamgoofball <4081722+Iamgoofball@users.noreply.github.com>
Co-authored-by: DomitiusKnack <56321744+DomitiusKnack@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Wallem <66052067+Wallemations@users.noreply.github.com>
This commit is contained in:
Jeremiah
2022-06-16 17:21:21 -07:00
committed by GitHub
parent 5b77b9e44e
commit acfa5e4fdd
68 changed files with 1990 additions and 622 deletions
+2 -3
View File
@@ -99,8 +99,6 @@
custom_name = FALSE
command_name = params["updated_name"]
if("update_report_contents")
command_report_content = params["updated_contents"]
if("set_report_sound")
played_sound = params["picked_sound"]
if("toggle_announce")
@@ -109,9 +107,10 @@
if(!command_name)
to_chat(ui_user, span_danger("You can't send a report with no command name."))
return
if(!command_report_content)
if(!params["report"])
to_chat(ui_user, span_danger("You can't send a report with no contents."))
return
command_report_content = params["report"]
send_announcement()
return TRUE