Adds a new configuration value, SERVERURL, for the IRC bot to use if set

This commit is contained in:
GinjaNinja32
2015-06-17 10:00:35 +01:00
parent 51e4ed31a2
commit a60b91fd1b
3 changed files with 19 additions and 11 deletions

View File

@@ -26,6 +26,6 @@
/hook/startup/proc/ircNotify()
send2mainirc("Server starting up on [config.server? "byond://[config.server]" : "byond://[world.address]:[world.port]"]")
send2mainirc("Server starting up on byond://[config.serverurl ? config.serverurl : (config.server ? config.server : "[world.address]:[world.port]")]")
return 1