SHARE
TWEET

torvald

a guest Jun 10th, 2012 123 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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top