mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Adds a happy greeting for my friends the admins who I love!
This commit is contained in:
@@ -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]")
|
||||
@@ -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 << "<span class='danger'>The server's API key is either too short or is the default value! Consider changing it immediately!</span>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user