po-devs/pokemon-online — pull request #208 by CrystalMoogle (2013-01-22 15:42:24+00:00)
Title: Script Functions for tray icon

Dr. Fuji gave me the idea for this!
client.trayMessage(QString title, QString message) lets you make a popup on the tray icon that displays a message with a title.
client.windowActive() returns true or false depending on whether or not the client is active (So scripters can make sure the tray message only appears if the client is inactive)