From 2476ddfbadfc706c78be9173281920c0207ccb5b Mon Sep 17 00:00:00 2001 From: Aranclanos Date: Sun, 23 Aug 2015 09:55:00 -0300 Subject: [PATCH] Adds a happy greeting for my friends the admins who I love! --- code/modules/admin/admin.dm | 17 +++++++++++++++++ code/modules/client/client procs.dm | 1 + 2 files changed, 18 insertions(+) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index e40f3490f91..707afc3c40b 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -805,3 +805,20 @@ var/global/floorIsLava = 0 qdel(frommob) return 1 + +/client/proc/adminGreet() + if(ticker && ticker.current_state == GAME_STATE_PLAYING) + var/string = pick( + "I welcome you to the server [key]!", + "Happy to see you [key]!", + "Ah, [key] logged, say hello!", + "The server welcomes you [key]!", + "Exceptional! [key] joined us, what an honour!", + "Another amazing day, because [key] logged, say hi!", + "Did anyone see? [key] logged, welcome!", + "Monday to sunday, the server warmly welcomes you [key]!", + "It's a pleasure to see you [key], greetings!", + "Not a bad day if [key] joins, welcome, welcome!", + "Surely it's nice to see you [key], have a heartly welcome!") + //I really do + message_admins("[string]") \ No newline at end of file diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 233fee84513..f639be50348 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -129,6 +129,7 @@ var/next_external_rsc = 0 if(holder) add_admin_verbs() admin_memo_output("Show") + adminGreet() if((global.comms_key == "default_pwd" || length(global.comms_key) <= 6) && global.comms_allowed) //It's the default value or less than 6 characters long, but it somehow didn't disable comms. src << "The server's API key is either too short or is the default value! Consider changing it immediately!"