1. Hey Guest, are you looking for a place to host your IRC related project? Then check out the Resource Manager on IRCForums! Click the resources tab above this notice!
  2. Hello Guest, are you new to IRCForums? Why not introduce yourself in the introduction forum!
  3. We have updated the layout of our forums. Please see this thread for more information.

Pisg Stats

Discussion in 'IRC Script Help' started by Nascimento, Dec 20, 2011.

  1. Offline

    Nascimento Sports Chat

    Member Since:
    Dec 20, 2011
    Message Count:
    305
    Likes Received:
    53
    Trophy Points:
    86
    Ok, so I suppose most of you are familiar with pisg stats (http://pisg.sourceforge.net/) - I need some help, I`m trying to modify the generator so instead of the
    section, It will show "Most team supported"

    Of course thats just the begining.. its defaul is that there are 3 genders; m - male, f - female, and b - bot, besides renaming those I want to add a few more genders, so what I`m actually asking is that someone could help me out and look at the generator and find out how to add an additional gender, call it whatever you like, I`m pretty sure once I understand how to add a 4th gender, I can add a 5th, 6th, and etc...

    By the way, its in perl.

    Help anyone?
  2. Offline

    HiddenKnowledge Fun1sChat

    Member Since:
    Dec 20, 2011
    Message Count:
    326
    Likes Received:
    45
    Trophy Points:
    71
    Hmm, sure, but how would people vote, do you want to include limits to the amount of votes, how many teams would you want, do you want to replace the woman/man/bot thingy, or just add this function, what gender would you like to add?

    Please be a bit more specific.
  3. Offline

    Nascimento Sports Chat

    Member Since:
    Dec 20, 2011
    Message Count:
    305
    Likes Received:
    53
    Trophy Points:
    86
    People don't need to vote... thats something I configure manually at pisg.cfg.

    [IMG]http://www.eplonline.co.uk/chanstats/football.html

    As you can see it generates the channel's logs and according to the pisg.cfg file - where I manually edit users' information such as:

    <user nick="THFC|Chapi" sex="m">

    Then it calculates all the lines written by 'm' / 'f' or 'b'

    What gender would I like to add? lets call it 'Team' (defined by 't')
  4. Offline

    HiddenKnowledge Fun1sChat

    Member Since:
    Dec 20, 2011
    Message Count:
    326
    Likes Received:
    45
    Trophy Points:
    71
    Do you have any code done already? If not, this belongs in the Script Requests forum.
  5. Offline

    Nascimento Sports Chat

    Member Since:
    Dec 20, 2011
    Message Count:
    305
    Likes Received:
    53
    Trophy Points:
    86
    I've uploaded here any file that seems relevant to the request.

    Attached Files:

Share This Page