The Geek | Message |
| Geek
Posts: 133 Joined: 9/1/2010 |
|
Posted: 11/3/2013 9:06:06 AM (Edited: 11/3/2013 11:02:53 AM) | |
|
Hi - I wrote this little Python script to Growl when people are in the MP lobby - it checks every 60 seconds and loops forever - ctrl-c to break
Should work fine on Mac or Linux - I don't use Python or Growl on Windows so maybe someone who does can advise:
##### install pip
sudo easy_install pip
##### install gntp for growl interface
sudo pip install gntp
!save below in file e.g. mpbtg.py - launch with Python:
http://pastebin.com/U2AkGUCY
Changed to pastebin to keep required indents - also added a little error handling if the url fetch has a timeout
|
|
Sparticuslvl 19Visit the App Stores to download the game! | Site Admin
Posts: 1023 Joined: 8/27/2010 |
|
Posted: 11/3/2013 9:36:30 AM | |
|
Very cool :) |
|
| |