collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Main Twink Liste  (Read 3270 times)

0 Members and 1 Guest are viewing this topic.

Offline freakyfreak

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Main Twink Liste
« on: April 05, 2010, 10:24:29 pm »
Hi Guys,

I search a module for a list with mains and their twinks like this:

User 1
Twink1, Twink2, Twink3, Twink4

User 2
Twink1, Twink2

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: Main Twink Liste
« Reply #1 on: April 05, 2010, 10:31:10 pm »
hmmmm sry for the qestion .. but do u ever tried !alts or. !online or !member ???

Offline freakyfreak

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: Main Twink Liste
« Reply #2 on: April 05, 2010, 11:25:46 pm »
Yeah i tried.

But !alts you only see your own alts
!member you see what class is in your guild and how often
!online the same like !alts

I search something which shows me all Mains in one list and their Twinks under it like the example above

Offline BoA-Gert

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: Main Twink Liste
« Reply #3 on: April 06, 2010, 01:06:22 am »
!alts [name of player] will give you the main and alts for that player; not aware of something that will do for all members...
« Last Edit: April 06, 2010, 01:08:14 am by BoA-Gert »

Offline freakyfreak

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: Main Twink Liste
« Reply #4 on: April 06, 2010, 12:03:20 pm »
.... not aware of something that will do for all members...

And this it what i search :P

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: Main Twink Liste
« Reply #5 on: April 06, 2010, 06:08:03 pm »
are u looking for thomthing like this ???

http://obsidian-cult.de/bot/mem.php

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Main Twink Liste
« Reply #6 on: April 06, 2010, 09:26:23 pm »
that looks interesting, looks better than the statics I use for online on a web....I wouldn't mind looking at the files for that.

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: Main Twink Liste
« Reply #7 on: April 06, 2010, 10:44:55 pm »
hmmm kk i will ask my admin to give the files ;) ... i'll post the files immediate when i have them

Offline freakyfreak

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: Main Twink Liste
« Reply #8 on: April 07, 2010, 03:13:51 pm »
Yeah this it is.

Offline freakyfreak

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Re: Main Twink Liste
« Reply #9 on: August 10, 2010, 07:01:47 pm »
Any Idea for this

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: Main Twink Liste
« Reply #10 on: August 12, 2010, 11:36:42 am »
uups sry ... forgot it totally ... sry sry sry ... i will ask him today ... an inform here

Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: Main Twink Liste
« Reply #11 on: August 13, 2010, 03:28:53 pm »
I once created the following code snipet to list the main characters only
Code: [Select]
        function memberslistmain()
        {
                $blob = "";
                $count = 0;
                $result = $this -> bot -> db -> select("SELECT nickname, last_seen FROM #___users LEFT JOIN alts ON #___users.nickname = alts.alt WHERE user_level = " . MEMBER . " AND alts.alt IS NULL ORDER BY nickname ASC");
                if (!empty($result))
                {
                        $inside = "##blob_title##:::: <botname>'s Mains List ::::##end##\n\n";
                        foreach ($result as $val)
                        {
                                $count++;
                                $inside .= "##blob_text##• " . $val[0];
                                if ($val[1] > 0)
                                {
                                        $inside .= ", last seen at " . gmdate($this -> bot -> core("settings") -> get("Time", "FormatString"), $val[1]);
                                }
                                else
                                {
                                        $inside .= ", never seen online";
                                }
                                $inside .= "##end## ".$this -> bot -> core("tools") -> chatcmd("whois " . $val[0], "[Whois]")."\n";
                        }
                        $blob = " :: " . $this -> bot -> core("tools") -> make_blob("click to view", $inside);
                }
                return $count . " mains in <botname>" . $blob;
You could expand that to also list the alts of that main (would get big)
-Yite [Crom]

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 800
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal