View difference between Paste ID: HLnAsN68 and 1pVSnuGE
SHOW: | | - or go back to the newest paste.
1
#!/bin/bash
2
3
app=$1
4
from=$2
5
text=$3
6
7
# If you want you can exclude hilights / change warning level from different channels/nicks here. 
8
warningLevel=0
9
10
if screen -list | grep .irc | grep Detached >/dev/null; then
11-
    /full/path/to/pyrowl/pushIPhone "$app" "$from" "$text" http://lekvam.no/irc/ $warningLevel > /dev/null
11+
    /full/path/to/pyrowl/pushIPhone "$app" "$from" "$text" http://url.to.webchat.or.something $warningLevel > /dev/null
12
fi