Anope IRC Services

Anope Development => Modules => Topic started by: Mike on April 23, 2009, 06:02:21 AM

Title: Module
Post by: Mike on April 23, 2009, 06:02:21 AM
Ok i seen how denora works, but it doesnt list the names of chatters in the room, and i dont need everything thats on denora, i just need a module that will show the user count of every room, and the users in the room

Room1 3 chatting
Mike
test
William

Room2 2 Chatting
John
Teresa

this should be easy i wish i knew how to make  a module i wouldnt ask if i could.. and i really need this module so it can make output onto a page like denora does so i can have php read it.. not to sound cocky or to be mean but im willing to pay for this.
Title: Re: Module
Post by: Jens Voss on April 23, 2009, 06:26:11 AM
if you run denora, you can select all data from the mysql db with php.

- all users in a channel
Quote
    SELECT users
    FROM chan, ison
    WHERE chan.chanid = ison.chanid AND channel="#denora"


- number of users in a channel
Quote
    SELECT COUNT(*) users
    FROM chan, ison
    WHERE chan.chanid = ison.chanid AND channel="#denora"

(you can find more examples in your denora source-directory in contrib/SQL_QUERIES )
Title: Re: Module
Post by: Mike on April 23, 2009, 08:14:04 AM
the problem is denora will not stay on the server in freebsd inspircd1.2 it comes on requests stats u and then dies, and it gives no logs. so therefore i cannot get denora to work.
Title: Re: Module
Post by: mooncup on April 23, 2009, 11:53:48 AM
What version of anope and how much money? :P
Title: Re: Module
Post by: Jobe on April 23, 2009, 03:55:08 PM
the problem is denora will not stay on the server in freebsd inspircd1.2 it comes on requests stats u and then dies, and it gives no logs. so therefore i cannot get denora to work.

Run Denora in debug mode using ./stats -debug -nofork -protocoldebug then paste the log file to a paste bin.