mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
[MIRROR] TGUI Say: Upgrades chat input with modern features [MDB IGNORE] (#14375)
* TGUI Say: Upgrades chat input with modern features * yes Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
Jeremiah
Gandalf
parent
5c9044c4e1
commit
7a653adfbb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user