BTG FORUMS
Forums -> Multiplayer BTG Tower Defence -> Growl notification
The GeekMessage
alchemistlvl 42
Want - to - play - a - game ?
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 19
Finally fixed the profile pic uploader
Site Admin


Posts: 927
Joined: 8/27/2010
Posted: 11/3/2013 9:36:30 AM

Very cool :)
 
Start Playing Now!
Returning Geeks Sign In
New Geeks Register
 
 
© 2010 - 2015, BeatTheGeek.com - Terms Of Service - Privacy Policy