Various Fixes

This commit is contained in:
Diego Martínez
2012-12-28 09:41:10 -02:00
parent 9de98a8e8b
commit 9ac5f86475
4 changed files with 27 additions and 0 deletions

View File

@ -123,6 +123,16 @@ mt_irc.connect = function ( )
end
end
mt_irc.say = function ( to, msg )
if (not msg) then
msg = to;
to = mt_irc.channel;
end
to = to or mt_irc.channel;
msg = msg or "";
irc.say(to, msg);
end
dofile(MODPATH.."/callback.lua");
dofile(MODPATH.."/chatcmds.lua");
dofile(MODPATH.."/botcmds.lua");