blob: 0982c88ce9514289ac75aec41253ccd0fb8c1215 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
export path="bot"
export server="irc.freenode.net"
export channel="#evol-dev"
export nick="evolbuildbot"
echo "$1"
mkdir ${path}
ii -s ${server} -i ${path} -n ${nick} -f ${nick} &
sleep 5s
echo "/j ${channel}" > "${path}/${server}/in"
sleep 10s
echo $1 >${path}/${server}/${channel}/in
sleep 3s
killall ii
|