NTNet Relay Reply button (#9228)

* NTNet Relay Reply button

* fixed and tested
This commit is contained in:
Geeves
2020-07-02 10:40:24 +02:00
committed by GitHub
parent 5fcfc33031
commit bc1b884afe
3 changed files with 23 additions and 2 deletions
@@ -23,8 +23,8 @@ var/global/ntnrc_uid = 0
log_ntirc("[user.client.ckey]/([username]) : [message]", ckey=key_name(user), conversation=title)
for(var/datum/computer_file/program/chatclient/C in clients)
if(C.program_state > PROGRAM_STATE_KILLED && C.username != username)
C.computer.output_message(FONT_SMALL("<b>[get_title(C)]) <i>[username]</i>:</b> [message]"), 0)
if(C.program_state > PROGRAM_STATE_KILLED)
C.computer.output_message(FONT_SMALL("<b>([get_title(C)]) <i>[username]</i>:</b> [message] (<a href='byond://?src=\ref[C];Reply=1;target=[src.title]'>Reply</a>)"), 0)
message = "[worldtime2text()] [username]: [message]"
messages.Add(message)