visual errors
This commit is contained in:
parent
943c5b5e3f
commit
5ab8fd674f
3
bot.sh
3
bot.sh
@ -6,7 +6,8 @@ echo "NICK $nick" > $config
|
|||||||
echo "USER $user" >> $config
|
echo "USER $user" >> $config
|
||||||
echo "JOIN #$channel" >> $config
|
echo "JOIN #$channel" >> $config
|
||||||
|
|
||||||
tail -f $config | telnet $server 6667 | while read res; do
|
tail -f $config | telnet $server 6667 | while read res;
|
||||||
|
do
|
||||||
# do things when you see output
|
# do things when you see output
|
||||||
case "$res" in
|
case "$res" in
|
||||||
PING*)
|
PING*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user