This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Outputting channel information to be included in PHP scripts

Old posts that have not been replied to for several years.
Locked
M
MagiCat

Post by MagiCat »

We've set up a channel and I want to be able to output some channel information already formatted so that I can include it in a PHP script (updating the file once a minute is probably enough.)

I have full access to the server so I can do it either by having Eggdrop output to a file or have some simple shell script ran from a Cron job.

The information that I want to get is:

The Topic (self explainatory)

A list of users in comma separated by comma and a space (if possible, one per line if not.)

The number of members currently in the channel (I can derive this but I figure it would be better just to have this number.)

Any thoughts on the best way to go about doing this?

Locked