ircu2.10.12 pk910 fork
[ircu2.10.12-pk.git] / ircd / test / channel-1.cmd
1 define srv localhost
2
3 connect cl1 Alex alex %srv%:7701 :Test client 1
4 connect cl2 Bubb bubb %srv%:7711 :Test client 2
5 :cl1 join #test
6 :cl1 join #test2
7 :cl1 mode #test +bb *!*@127.0.0.1 *!*@127.0.0.2
8 :cl2 wait cl1
9 :cl2 raw :away :I'm not here, go away.  I'm not here, go away.  I'm not here, go away.  I'm not here, go away.  I'm not here, go away.  I'm not here, go away.  I'm not here, go away.  I'm not here, go away.  I'm not here, go away.  I'm not here, go away.
10 :cl2 raw :away :I'm not here, go away.
11 :cl2 join #test,#test3,#test4,+local
12 :cl1 wait cl2
13 :cl1 join #test3
14 :cl1 raw :invite Bubb
15 :cl1 raw :invite #test
16 :cl1 invite Bubb #non-existent-channel
17 :cl1 invite Bubb #test3
18 :cl1 invite Bubb #test4
19 :cl1 invite Bubb #test
20 :cl2 expect *cl1 invite #test
21 :cl2 mode #test3 +o Alex
22 :cl2 raw :invite
23 :cl2 join #test
24 :cl2 privmsg #test :Hello, *cl1.
25 :cl2 notice #test :Hello, *cl1 (via notice).
26 :cl2 notice @#test :Hello, *cl1 (via wallchops).
27 :cl2 privmsg #test5 :Hello, *cl1.
28 :cl2 nick Buba
29 :cl2 mode #test +l 15
30 :cl1 wait cl2
31 :cl1 privmsg #test :Hello, *cl2.
32 :cl1 raw :cprivmsg bubb #test :Hello, bubb.
33 :cl1 raw :cnotice bubb #test :Hello, bubb.
34 :cl1 mode #test -b+kv *!*@127.0.0.1 secret Bubb
35 :cl1 mode #test +b foo!bar@baz
36 :cl1 mode #test +b
37 :cl1 mode #test :
38 :cl1 mode #test
39 :cl1 raw :names
40 :cl1 raw :names #test
41 :cl1 raw :names +local
42 :cl1 raw :names +local test-2.*
43 :cl1 raw :who #test %lfuh
44 :cl2 wait cl1
45 :cl2 raw :part
46 :cl2 part #test
47 :cl2 part #test5
48 :cl1 wait cl2
49 :cl2 join #test public
50 :cl2 join #test secret
51 :cl1 join 0
52 :cl1 join #test2
53 :cl2 wait cl1
54 :cl2 join #test2
55 :cl1 wait cl2
56 :cl1 mode #test2 +smtinrDlAU 15 apples oranges
57 :cl1 mode #test2
58 :cl2 wait cl1
59 :cl2 join #test2 apples
60 :cl2 privmsg #test2 :Hello, oplevels.
61 :cl2 mode #test2
62 :cl2 mode #test2 -io+v Alex Alex
63 :cl1 wait cl2
64 :cl1 part #test2
65 :cl1 join #test2
66 :cl2 wait cl1
67 :cl2 mode #test2 -D
68 :cl2 mode #test +v Alex
69 :cl1 raw :kick #test bubb
70 :cl2 raw :squit test-1.*
71 :cl2 sleep 1
72 :cl2 raw :connect test-1.*
73 :cl2 raw :away :
74 :cl1 wait cl2