mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-10 14:42:46 +01:00
Some more debugging stuff to help find if it's an issue locally or with BYOND
This commit is contained in:
@@ -7,12 +7,13 @@
|
||||
|
||||
/proc/send2mainirc(var/msg)
|
||||
if(config.main_irc)
|
||||
log_debug("send2mainirc: Sending [msg] to send2irc")
|
||||
send2irc(config.main_irc, msg)
|
||||
return
|
||||
|
||||
/proc/send2adminirc(var/msg)
|
||||
var/queuedmsg = "ADMIN - [msg]"
|
||||
|
||||
log_debug("send2adminirc: Sending [queuedmsg] to send2irc")
|
||||
send2irc(config.admin_irc, queuedmsg)
|
||||
return
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/proc/ext_python(var/script, var/args, var/scriptsprefix = 1)
|
||||
if(scriptsprefix) script = "scripts/" + script
|
||||
|
||||
if(world.system_type == MS_WINDOWS)
|
||||
script = replacetext(script, "/", "\\")
|
||||
|
||||
var/command = config.python_path + " " + script + " " + args
|
||||
log_debug("ext_python: Sending [command] to shell")
|
||||
shell("[command]")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user