added talk method to IRC module.

This commit is contained in:
norayr 2017-05-22 15:43:55 +04:00
parent 4d26bd839c
commit 6d751661b8
2 changed files with 20 additions and 0 deletions

View file

@ -27,6 +27,7 @@ BEGIN
Out.String("ident: '"); Out.String(ident); Out.Char("'"); Out.Ln;
Out.String("host: '"); Out.String(host); Out.Char("'"); Out.Ln;
Out.String("*** that's it ***"); Out.Ln;
IRC.sendMsgToDst(inst, user, "hello, nice to meet you");
END onPrivateMessage;
PROCEDURE onPublicMessage(VAR msg, msgtype, user, ident, rcpt, host: ARRAY OF CHAR);