Advertisement
Guest User

torvald

a guest
Jun 10th, 2012
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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://url.to.webchat.or.something $warningLevel > /dev/null
  12. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement