mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-06 04:52:26 +00:00
forgot to add Internet.Mod.
This commit is contained in:
parent
801de6a0c2
commit
b1d7006dfc
4 changed files with 106 additions and 10 deletions
9
test.Mod
9
test.Mod
|
|
@ -4,21 +4,22 @@ IMPORT IRC, Out;
|
|||
|
||||
VAR
|
||||
|
||||
owner, nick, host, port, channel: ARRAY 32 OF CHAR;
|
||||
owner, user, nick, host, port, channel: ARRAY 32 OF CHAR;
|
||||
|
||||
PROCEDURE testBot;
|
||||
VAR b : BOOLEAN;
|
||||
BEGIN
|
||||
IF IRC.Connect(host, port) # FALSE THEN
|
||||
|
||||
b := IRC.Auth("norayr", "norayr");
|
||||
b := IRC.Auth(user, nick, owner);
|
||||
|
||||
END;
|
||||
END testBot;
|
||||
|
||||
BEGIN
|
||||
owner := "norayr";
|
||||
nick := "norayr";
|
||||
owner := "norayr_tanakian";
|
||||
user := "norayr";
|
||||
nick := "arnet";
|
||||
host := "irc.freenode.net";
|
||||
port := "6667";
|
||||
channel := "#oberon";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue