mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Made nudge.py script location configurable.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -173,4 +173,7 @@ SOCKET_TALK 0
|
||||
#AUTOMUTE_ON
|
||||
|
||||
## Uncomment to restrict non-admins from using humanoid alien races
|
||||
USEALIENWHITELIST
|
||||
USEALIENWHITELIST
|
||||
|
||||
## Location of the nudge.py script
|
||||
NUDGE_SCRIPT_PATH nudge.py
|
||||
Reference in New Issue
Block a user