BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: freakyfreak on April 05, 2010, 10:24:29 pm

Title: Main Twink Liste
Post by: freakyfreak 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
Title: Re: Main Twink Liste
Post by: Drizzurdeen on April 05, 2010, 10:31:10 pm
hmmmm sry for the qestion .. but do u ever tried !alts or. !online or !member ???
Title: Re: Main Twink Liste
Post by: freakyfreak 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
Title: Re: Main Twink Liste
Post by: BoA-Gert 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...
Title: Re: Main Twink Liste
Post by: freakyfreak 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
Title: Re: Main Twink Liste
Post by: Drizzurdeen on April 06, 2010, 06:08:03 pm
are u looking for thomthing like this ???

http://obsidian-cult.de/bot/mem.php
Title: Re: Main Twink Liste
Post by: clashbot 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.
Title: Re: Main Twink Liste
Post by: Drizzurdeen 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
Title: Re: Main Twink Liste
Post by: freakyfreak on April 07, 2010, 03:13:51 pm
Yeah this it is.
Title: Re: Main Twink Liste
Post by: freakyfreak on August 10, 2010, 07:01:47 pm
Any Idea for this
Title: Re: Main Twink Liste
Post by: Drizzurdeen on August 12, 2010, 11:36:42 am
uups sry ... forgot it totally ... sry sry sry ... i will ask him today ... an inform here
Title: Re: Main Twink Liste
Post by: Yite 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)
SimplePortal 2.3.7 © 2008-2025, SimplePortal