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
-
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
-
hmmmm sry for the qestion .. but do u ever tried !alts or. !online or !member ???
-
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
-
!alts [name of player] will give you the main and alts for that player; not aware of something that will do for all members...
-
.... not aware of something that will do for all members...
And this it what i search :P
-
are u looking for thomthing like this ???
http://obsidian-cult.de/bot/mem.php
-
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.
-
hmmm kk i will ask my admin to give the files ;) ... i'll post the files immediate when i have them
-
Yeah this it is.
-
Any Idea for this
-
uups sry ... forgot it totally ... sry sry sry ... i will ask him today ... an inform here
-
I once created the following code snipet to list the main characters only
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)