mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
- Server will now send adminhelps to the admin channel, with information if there is no admins online. - Server will inform the admin channel if the last admin online logs out. - When a round ends, the server will alert the main channel, supplying some statistics. Additionally, laid the groundwork for an external scripts system. This is fully configurable/togglable in the config.txt file. Signed-off-by: Mloc-Argent <colmohici@gmail.com>
14 lines
406 B
Plaintext
14 lines
406 B
Plaintext
/proc/send2irc(var/channel, var/msg)
|
|
if(config.use_irc_bot)
|
|
ext_python("ircbot_message.py", "[channel] [msg]")
|
|
return
|
|
|
|
/proc/send2mainirc(var/msg)
|
|
if(config.use_irc_bot && config.main_irc)
|
|
ext_python("ircbot_message.py", "[config.main_irc] [msg]")
|
|
return
|
|
|
|
/proc/send2adminirc(var/msg)
|
|
if(config.use_irc_bot && config.admin_irc)
|
|
ext_python("ircbot_message.py", "[config.admin_irc] [msg]")
|
|
return |