This commit is contained in:
norayr 2017-04-13 18:42:03 +04:00
parent 2e4b60252a
commit e8c580bd24
4 changed files with 93 additions and 10 deletions

View file

@ -1,20 +1,27 @@
MODULE test;
IMPORT irc;
VAR
botOwner, nick, serv, chan: ARRAY 32 OF CHAR;
owner, nick, serv, port, chan: ARRAY 32 OF CHAR;
PROCEDURE testBot;
BEGIN
irc.nick := nick;
irc.host := serv;
irc.port := port;
irc.channel := chan;
irc.user := owner;
irc.connect;
END testBot;
BEGIN
botOwner := "norayr";
owner := "norayr";
nick := "norayr";
serv := "irc.freenode.net";
port := "6667";
chan := "#oberon";
testBot;