fix possible crash on user deletion
[srvx.git] / tests / test.cmd
1 define srv1 irc.clan-dk.org:7731
2 define srv2 irc.clan-dk.org:7731
3 define nickserv NickServ-Ent@srvx.clan-dk.org
4  
5 connect cl1 D00dm4n d00dm4n %srv1% :Some Dude Man
6 connect cl2 D00dl4dy d00dl4dy %srv2% :Some Dude Lady
7 :cl1,cl2 join #test
8 sync cl1,cl2
9 :cl1 privmsg #test :We're here and we're bots!
10 :cl2 expect *cl1 public #test :We're here and we're bots!
11 :cl2 privmsg #test :And we'll leave soon!
12 :cl1 privmsg #test :Right, Annette!
13 :cl1 sleep 10
14 :cl2 wait cl1
15 :cl1,cl2 quit