BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.2.x Custom/Unofficial Modules => Topic started by: Wanuarmi on December 05, 2005, 08:39:43 am

Title: AXP Table
Post by: Wanuarmi on December 05, 2005, 08:39:43 am
pretty simple one, will add !axptable command

feel free to make it prettier and repost if you want

Code: [Select]
<?
$axpTable = new AxpTable($bot);

$commands["tell"]["axptable"] = &$axpTable;
$commands["pgmsg"]["axptable"] = &$axpTable;


class AxpTable
{
var $bot;
var $message;
var $axp;


function AxpTable (&$bot)
{
$this -> bot = &$bot;
        $this -> axp = "<font color=CCInfoText><font color=CCInfoHeadline>::: AXP Table :::</font>\n\n";
$this -> axp .= "Alien Level - AXP Needed - Total (Rank)\n";
$this -> axp .= "1 - 1.500 - 1.500 (Fledgling)\n";
$this -> axp .= "2 - 9.000 - 10.500 (Amateur)\n";
$this -> axp .= "3 - 22.500 - 33.000 (Beginner)\n";
$this -> axp .= "4 - 42.000 - 75.000 (Starter)\n";
$this -> axp .= "5 - 67.500 - 142.500 (Newcomer)\n";
$this -> axp .= "6 - 99.000 - 241.500 (Student)\n";
$this -> axp .= "7 - 136.500 - 378.000 (Common)\n";
$this -> axp .= "8 - 180.000 - 558.000 (Intermediate)\n";
$this -> axp .= "9 - 229.500 - 787.500 (Mediocre)\n";
$this -> axp .= "10 - 285.000 - 1.072.500 (Fair)\n";
$this -> axp .= "11 - 346.500 - 1.419.000 (Able)\n";
$this -> axp .= "12 - 414.000 - 1.833.000 (Accomplished)\n";
$this -> axp .= "13 - 487.500 - 2.320.500 (Adept)\n";
$this -> axp .= "14 - 567.000 - 2.887.500 (Qualified)\n";
$this -> axp .= "15 - 697.410 - 3.584.910 (Competent)\n";
$this -> axp .= "16 - 857.814 - 4.442.724 (Suited)\n";
$this -> axp .= "17 - 1.055.112 - 5.497.836 (Talented)\n";
$this -> axp .= "18 - 1.297.787 - 6.795.623 (Trustworthy)\n";
$this -> axp .= "19 - 1.596.278 - 8.391.901 (Supporter)\n";
$this -> axp .= "20 - 1.931.497 - 10.323.398 (Backer)\n";
$this -> axp .= "21 - 2.298.481 - 12.621.879 (Defender)\n";
$this -> axp .= "22 - 2.689.223 - 15.311.102 (Challenger)\n";
$this -> axp .= "23 - 3.092.606 - 18.403.708 (Patron)\n";
$this -> axp .= "24 - 3.494.645 - 21.898.353 (Protector)\n";
$this -> axp .= "25 - 3.879.056 - 25.777.409 (Medalist)\n";
$this -> axp .= "26 - 4.228.171 - 30.005.580 (Champ)\n";
$this -> axp .= "27 - 4.608.707 - 34.614.287 (Hero)\n";
$this -> axp .= "28 - 5.023.490 - 39.637.777 (Guardian)\n";
$this -> axp .= "29 - 5.475.604 - 45.113.381 (Vanquisher)\n";
$this -> axp .= "30 - 5.968.409 - 51.081.790 (Vindicator)\n";
}

function tell($name, $msg)
{
$this -> bot -> send_tell($name, $this -> bot -> make_blob("AXP Table", $this -> axp));
}

function pgmsg($name, $msg)
{
$this -> bot -> send_pgroup($this -> bot -> make_blob("AXP Table", $this -> axp));
}


}
?>
Title: AXP Table
Post by: Xenixa on December 05, 2005, 12:44:08 pm
Also see: http://bebot.fieses.net/viewtopic.php?t=150

Only that one can Calculate how much you need between levels whether it's 1 level or more. Both XP and AXP.
Title: Re: AXP Table
Post by: Areteh on January 06, 2007, 07:00:46 am
help file.  (yeah, I'm spamming them a bit, just figured since I'm writing them for my own bots, I may as well share.)
SimplePortal 2.3.7 © 2008-2024, SimplePortal