1 # $Id: mode-test.e,v 1.2 2002/09/09 21:26:00 alex Exp $
3 spawn telnet localhost 6789
10 send "user user . . :User\r"
19 ":nick!~user@* MODE nick +i"
31 ":nick!~user@* MODE nick -i"
34 send "oper TestOp 123\r"
50 send "join #channel\r"
53 ":nick!~user@* JOIN :#channel"
60 send "mode #channel +tn\r"
63 ":nick!~user@* MODE #channel +tn"
66 send "mode #channel\r"
69 "324 nick #channel +tn"
72 send "mode #channel +v nick\r"
75 ":nick!~user@* MODE #channel +v nick"
78 send "mode #channel +I nick1\r"
81 ":nick!~user@* MODE #channel +I nick1!*@*"
84 send "mode #channel +b nick2@domain\r"
87 ":nick!~user@* MODE #channel +b nick2!*@domain"
90 send "mode #channel +I nick3!user\r"
93 ":nick!~user@* MODE #channel +I nick3!user@*"
96 send "mode #channel -vo nick\r"
99 ":nick!~user@* MODE #channel -vo nick"