From 687bf5fcdec3fe1535b5ed4af9bc90f90c726160 Mon Sep 17 00:00:00 2001 From: Krausus Date: Fri, 1 Jul 2016 01:14:40 -0400 Subject: [PATCH] Puts the to_chat in interface.dm (#4837) --- interface/interface.dm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/interface/interface.dm b/interface/interface.dm index 81fe75b269b..f144b225160 100644 --- a/interface/interface.dm +++ b/interface/interface.dm @@ -10,7 +10,7 @@ else src << link(config.wikiurl) else - src << "The wiki URL is not set in the server configuration." + to_chat(src, "The wiki URL is not set in the server configuration.") return /client/verb/changes() @@ -51,7 +51,7 @@ return src << link(config.forumurl) else - src << "The forum URL is not set in the server configuration." + to_chat(src, "The forum URL is not set in the server configuration.") return /client/verb/rules() @@ -63,7 +63,7 @@ return src << link(config.rulesurl) else - src << "The rules URL is not set in the server configuration." + to_chat(src, "The rules URL is not set in the server configuration.") return /client/verb/donate() @@ -75,7 +75,7 @@ return src << link(config.donationsurl) else - src << "The rules URL is not set in the server configuration." + to_chat(src, "The rules URL is not set in the server configuration.") return /client/verb/hotkeys_help() @@ -94,7 +94,7 @@ Admin: mob.hotkey_help() if(check_rights(R_MOD|R_ADMIN,0)) - src << adminhotkeys + to_chat(src, adminhotkeys) /mob/proc/hotkey_help() var/hotkey_mode = {" @@ -151,8 +151,8 @@ Any-Mode: (hotkey doesn't need to be on) \tF4 = Me "} - src << hotkey_mode - src << other + to_chat(src, hotkey_mode) + to_chat(src, other) /mob/living/silicon/robot/hotkey_help() var/hotkey_mode = {" @@ -203,15 +203,15 @@ Any-Mode: (hotkey doesn't need to be on) \tF4 = Me "} - src << hotkey_mode - src << other + to_chat(src, hotkey_mode) + to_chat(src, other) //adv. hotkey mode verbs, vars located in /code/modules/client/client defines.dm /client/verb/hotkey_toggle()//toggles hotkey mode between on and off, respects selected type set name = ".Toggle Hotkey Mode" hotkeyon = !hotkeyon//toggle the var - usr << (hotkeyon ? "Hotkey mode enabled." : "Hotkey mode disabled.")//feedback to the user + to_chat(usr, (hotkeyon ? "Hotkey mode enabled." : "Hotkey mode disabled."))//feedback to the user if(hotkeyon)//using an if statement because I don't want to clutter winset() with ? operators winset(usr, "mainwindow.hotkey_toggle", "is-checked=true")//checks the button @@ -233,4 +233,4 @@ Any-Mode: (hotkey doesn't need to be on) var/hotkeyname = hotkeys[hotkeyon ? "on" : "off"]//get the name of the hotkey, to not clutter winset() to much winset(usr, "mainwindow", "macro=[hotkeyname]")//change the hotkey - usr << "Hotkey mode changed to [hotkeytype]." + to_chat(usr, "Hotkey mode changed to [hotkeytype].")