diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index acd85c1ab7a..74f0bbd499e 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -2,6 +2,8 @@ var/server_name = null // server name (for world name / status) var/server_suffix = 0 // generate numeric suffix based on server port + var/nudge_script_path = "nudge.py" // where the nudge.py script is located + var/log_ooc = 0 // log OOC channel var/log_access = 0 // log login/logout var/log_say = 0 // log client say @@ -238,6 +240,9 @@ if ("serversuffix") config.server_suffix = 1 + if ("nudge_script_path") + config.nudge_script_path = value + if ("hostedby") config.hostedby = value diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 235a41ae6e9..9023d34e9f6 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -133,5 +133,5 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an", "monkey", "ali proc/send2irc(msg,msg2) if(config.useircbot) - shell("python nudge.py [msg] [msg2]") + shell("python [config.nudge_script_path] [msg] [msg2]") return \ No newline at end of file diff --git a/config/config.txt b/config/config.txt index 95a3791a135..803d975a80f 100644 --- a/config/config.txt +++ b/config/config.txt @@ -173,4 +173,7 @@ SOCKET_TALK 0 #AUTOMUTE_ON ## Uncomment to restrict non-admins from using humanoid alien races -USEALIENWHITELIST \ No newline at end of file +USEALIENWHITELIST + +## Location of the nudge.py script +NUDGE_SCRIPT_PATH nudge.py \ No newline at end of file