Added support for joining/parting the channel

This commit is contained in:
Diego Martínez
2012-12-16 13:56:02 -02:00
parent b37f4b21d6
commit f62cd34d42
4 changed files with 127 additions and 21 deletions

View File

@ -4,8 +4,7 @@
-- *************************
-- Server to connect on joinplayer (string, default "irc.freenode.net")
--mt_irc.server = nil;
mt_irc.server = "localhost";
mt_irc.server = nil;
-- Port to connect on joinplayer (number, default 6667)
mt_irc.port = nil;
@ -40,3 +39,11 @@ mt_irc.message_format_in = "<$(name)@IRC> $(message)";
-- Enable debug output (boolean, default false)
mt_irc.debug = true;
-- Whether to automatically join the channed when player joins
-- (boolean, default false)
mt_irc.connect_on_join = false;
-- Whether to automatically connect to the server on mod load
-- (boolean, default false)
mt_irc.connect_on_load = false;