
Sandu Adrian - 2014-06-01 19:35:52 -
In reply to message 1 from haris4web
Well,
You could put everything in a while true loop .. :)
while(TRUE){
$ymsg->parsepackets();
sleep(2);
}
Like in the example .. this would show you all the messages and status changes .. you could probably filter stuff out :)
There's a public function exposed named YahooPrivateMessage which takes 2 params, the destination and the message. The whole class should be pretty explanatory ..