Get matchinfo

Back to PHP-IRC Support

Page: 1  
From User Message Body
GyroTarzan
Post #402
Member
Date: 12:00 am, Dec 4 2006
Posts: 4


Hi, is it possible to get this bot get info. from a page like this http://stats.swehockey.se/, and write the results in tha channel?

Manick
Post #403
user avatar
Admin
Date: 12:03 am, Dec 4 2006
Posts: 223


yea.. shouldn't be too hard. just use ircClass->addQuery and parse the results... see the readme.txt on querying outside servers for some more information.

--Manick
PHP-IRC Developer
GyroTarzan
Post #404
Member
Date: 12:10 am, Dec 4 2006
Posts: 4


Thanks for a fast answer :) I will try it, im new on php but will give it a try. Maybe i`ll ask for more help here :)
Thanks

GyroTarzan
Post #405
Member
Date: 12:20 am, Dec 4 2006
Posts: 4


Should i start with a new php file, or edit som of yours?

Maybe a stupid question

Manick
Post #406 - Reply to (#405) by GyroTarzan
user avatar
Admin
Date: 2:39 am, Dec 4 2006
Posts: 223


Well, readme.txt has information on making a new module in user defined functions section... basically you can just copy over the template.txt and start making your own module...

--Manick
PHP-IRC Developer
rikardn
Post #416
Member
Date: 9:26 am, Dec 7 2006
Posts: 7


Take a look at the current mods. If i'm not mistaken, the gamefaq's parser does something that you're after.

/Rikard

   

Back to PHP-IRC Support