mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-05 20:42:26 +00:00
smth
This commit is contained in:
parent
2e4b60252a
commit
e8c580bd24
4 changed files with 93 additions and 10 deletions
15
test.Mod
15
test.Mod
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue